Stringify the variable too

This commit is contained in:
joshaber 2016-11-10 09:29:07 -05:00
parent cb53bcac20
commit 608e065140

View file

@ -30,7 +30,7 @@ const config = {
new webpack.optimize.OccurrenceOrderPlugin(true),
new webpack.DefinePlugin(Object.assign({}, {
__DEV__: false,
__RELEASE_ENV__: environment
__RELEASE_ENV__: JSON.stringify(environment)
}, common.replacements))
],
module: common.module,