diff --git a/webpack.config.js b/webpack.config.js index bb63d27..9e6ca55 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,6 @@ var webpack = require('webpack'); var rucksack = require('rucksack-css') +var webpack = require("webpack") module.exports = { context: __dirname + "/client", @@ -46,5 +47,10 @@ module.exports = { rucksack({ autoprefixer: true }) + ], + plugins: [ + new webpack.DefinePlugin({ + 'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'development') } + }) ] }