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 9d6e14b commit 066702cCopy full SHA for 066702c
src/webpack/config.js
@@ -32,7 +32,7 @@ export function webpackConfig(optionsOrNull) {
32
client: path.resolve('./src/client'),
33
},
34
output: options.output || {
35
- filename: isProd ? '[name].[chunkhash].js' : '[name].bundle.js',
+ filename: isProd ? '[name].[contenthash].js' : '[name].bundle.js',
36
publicPath: '/s/',
37
path: path.resolve('./build-static'),
38
@@ -125,7 +125,7 @@ export function webpackConfig(optionsOrNull) {
125
// fix plugins for prod
126
plugins.push(
127
new MiniCssExtractPlugin({
128
- filename: isProd ? '[name].[chunkhash].css' : '[name].bundle.css',
+ filename: isProd ? '[name].[contenthash].css' : '[name].bundle.css',
129
...options.miniCss,
130
}),
131
);
0 commit comments