Skip to content

Instantly share code, notes, and snippets.

@teimurjan
Created May 21, 2018 06:20
Show Gist options
  • Save teimurjan/4356c227dfac107284620dbe8c2eb715 to your computer and use it in GitHub Desktop.
Save teimurjan/4356c227dfac107284620dbe8c2eb715 to your computer and use it in GitHub Desktop.
blog-react-applications-optimization
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