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.
1 parent 31c00e5 commit b357034Copy full SHA for b357034
webpack.config.js
@@ -92,6 +92,8 @@ pages.forEach(function (pathname) {
92
if (chunks.indexOf(chunk) > -1) {
93
conf.inject = 'body';
94
conf.chunks = ['vendors', chunk];
95
+ }
96
+ if (process.env.NODE_ENV === 'production') {
97
conf.hash = true;
98
}
99
config.plugins.push(new HtmlWebpackPlugin(conf));
0 commit comments