kiln / flourish-sdk

The SDK for developing Flourish templates
Other
80 stars 16 forks source link

Make it easy to run different builds for development and production #53

Closed robinhouston closed 5 years ago

robinhouston commented 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.

An easy way to make this possible would be to set the NODE_ENV environment variable to production or development before running the build script.

timbrock commented 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.