Skip to content
Snippets Groups Projects
Commit 83ae3ebf authored by Will Roberts's avatar Will Roberts
Browse files

webpack-config: export NODE_ENV=production when not in debug mode

parent ec25c040
No related branches found
No related tags found
No related merge requests found
......@@ -59,5 +59,10 @@ module.exports = {
}),
].concat(debug ? [] : [
// production webpack plugins go here
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
}
}),
])
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment