We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 250f844 + cbbac79 commit 05172cbCopy full SHA for 05172cb
webpack.prod.config.babel.js
@@ -50,6 +50,7 @@ export default {
50
plugins: [
51
new webpack.DefinePlugin({
52
CLIENT_CONFIG: JSON.stringify(clientConfig),
53
+ 'process.env.NODE_ENV': JSON.stringify('production'),
54
}),
55
// Replaces server config module with the subset clientConfig object.
56
new webpack.NormalModuleReplacementPlugin(/config$/, 'client-config.js'),
0 commit comments