Development v production

Each of the Wilderness flavours come in two formats – development and production.

These, unsurprisingly, should be used in our development and production environments respectively.

When using the ES2015 module or commonjs Wilderness flavours, to compile for production we need to make sure process.env.NODE_ENV is set to production.

Development

  • 🚒 Error checks
  • 😞 Not minified

Production

  • ⚡️ Minified
  • 😞 No error checks