Skip to content

Commit

Permalink
Merge pull request #332 from HenrikJoreteg/add-support-for-other-node…
Browse files Browse the repository at this point in the history
…-envs

Add support for several different NODE_ENV values
  • Loading branch information
selbekk authored Apr 6, 2017
2 parents 4e8d149 + a0add55 commit 6dd82a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ module.exports = function (opts) {
allChunks: true
}),
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"'
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
})
)

Expand Down

0 comments on commit 6dd82a7

Please sign in to comment.