Created
May 21, 2018 06:20
-
-
Save teimurjan/4356c227dfac107284620dbe8c2eb715 to your computer and use it in GitHub Desktop.
blog-react-applications-optimization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpack = require("webpack"); | |
module.exports = { | |
plugins: [ | |
new webpack.DefinePlugin({ | |
"process.env": { | |
NODE_ENV: JSON.stringify("production") | |
} | |
}) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment