Skip to content

Commit 846a0a2

Browse files
committed
chore: update chunkFilename
1 parent f6cde30 commit 846a0a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/get-starknet/webpack.config.build.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ module.exports = (env) =>
1818
merge(common, {
1919
mode: 'production',
2020
output: {
21+
filename: '[name].[contenthash].js?v=[fullhash]', // Appends a cache-busting query string
22+
chunkFilename: '[name].[contenthash].js?v=[fullhash]', // For dynamically imported chunks
2123
publicPath: process.env.GET_STARKNET_PUBLIC_PATH || 'https://snaps.consensys.io/starknet/get-starknet/v1/',
2224
},
2325
plugins: [

0 commit comments

Comments
 (0)