|
@@ -33,7 +33,7 @@ module.exports = {
|
|
|
plugins: [
|
|
plugins: [
|
|
|
new webpack.DefinePlugin({
|
|
new webpack.DefinePlugin({
|
|
|
"process.env": {
|
|
"process.env": {
|
|
|
- NODE_ENV: JSON.stringify("production")
|
|
|
|
|
|
|
+ NODE_ENV: process.env.NODE_ENV || "production"
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
//new webpack.ProvidePlugin({
|
|
//new webpack.ProvidePlugin({
|