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 9d6e14b + 066702c commit ff97d1bCopy full SHA for ff97d1b
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