Maybe instead of `build.js`, use `test/standalone-build.js`. But in general I like this approach.