Skip to content

Commit 3a03fc4

Browse files
committed
fix: filename test by removing hash from output
1 parent c875e0c commit 3a03fc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cases/filename/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ module.exports = {
1313
],
1414
},
1515
output: {
16-
filename: '[name].[chunkhash:8].js',
16+
filename: '[name].js',
1717
},
1818
plugins: [
1919
new Self({
2020
filename: ({ name }) =>
21-
`${name.replace('/js/', '/css/')}.[chunkhash:8].css`,
21+
`${name.replace('/js/', '/css/')}.css`,
2222
}),
2323
],
2424
};

0 commit comments

Comments
 (0)