Skip to content

Commit 080bcb7

Browse files
committed
chore: get rid of deprecation warning from webpack
1 parent 9c4eeac commit 080bcb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/dll/webpack.config.dll.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ module.exports = {
1111
mode: 'development',
1212
output: {
1313
path: path.join(__dirname, 'build'),
14-
filename: '[name].[hash:4].dll.js',
15-
library: '[name]_[hash]',
14+
filename: '[name].[chunkhash].dll.js',
15+
library: '[name]_[fullhash]',
1616
},
1717
plugins: [
1818
new webpack.DllPlugin({
1919
path: path.join(__dirname, 'build', '[name]-manifest.json'),
20-
name: '[name]_[hash]',
20+
name: '[name]_[fullhash]',
2121
}),
2222
],
2323
};

0 commit comments

Comments
 (0)