Skip to content

Commit e4b19f6

Browse files
committed
Add filter option to preload
1 parent e5d8096 commit e4b19f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ module.exports = ({production = false} = {}) => {
8080
},{
8181
minify
8282
})),
83-
new PreloadWebpackPlugin(),
83+
new PreloadWebpackPlugin({
84+
fileBlacklist: [/\.map./]
85+
}),
8486
new CopyWebpackPlugin([{
8587
context: './public',
8688
from: '*.*'

0 commit comments

Comments
 (0)