Closed robinhouston closed 5 years ago
Sometimes you might want to have a different build process for production and development. Typically the production build would be smaller, but take longer to build.
Disabling uglify on development also makes it easier to debug.
Sometimes you might want to have a different build process for production and development. Typically the production build would be smaller, but take longer to build.
An easy way to make this possible would be to set the
NODE_ENV
environment variable toproduction
ordevelopment
before running the build script.