Skip to content

Commit

Permalink
Revert to hash, but disable clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkcuys committed Feb 15, 2024
1 parent 0516eb5 commit 0840d6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ const reactBuild = {
entry: getReactChunks(),
output: {
path: path.resolve('./assets/bundles/'),
filename: "[name]-[fullhash].js",
assetModuleFilename: '[name]-[fullhash][ext][query]',
filename: "[name]-[hash].js",
assetModuleFilename: '[name]-[hash][ext][query]',
publicPath: '/assets/bundles/',
clean: true,
clean: false,
},
devtool: 'source-map',
module: {
Expand Down Expand Up @@ -81,7 +81,7 @@ const reactBuild = {
},
plugins: [
new MiniCssExtractPlugin({
filename: "[name]-[fullhash].css",
filename: "[name]-[hash].css",
chunkFilename: "[id].css",
}),
new webpack.IgnorePlugin({
Expand Down

0 comments on commit 0840d6f

Please sign in to comment.