Our build scripts are currently a bit messy and redundant. We have build-test.js, build-server.js, build-dev.js, and run-server.js with not a ton of clear distinction between them and a lot of repeated code. These are tied into the npm commands defined in package.json.
This contributed to an issue that broke local dev recently and was fixed here: #2264
Would be good to clean these up so they're a bit cleaner and less redundant. Also, at the same time we can set it up so that we're not including test code in prod build.
Our build scripts are currently a bit messy and redundant. We have
build-test.js,build-server.js,build-dev.js, andrun-server.jswith not a ton of clear distinction between them and a lot of repeated code. These are tied into the npm commands defined inpackage.json.This contributed to an issue that broke local dev recently and was fixed here: #2264
Would be good to clean these up so they're a bit cleaner and less redundant. Also, at the same time we can set it up so that we're not including test code in prod build.