diff options
author | Nanobyte <[email protected]> | 2020-08-13 23:26:08 +0200 |
---|---|---|
committer | Nanobyte <[email protected]> | 2020-08-13 23:26:08 +0200 |
commit | 2b8b72f4df4c34b3f75aab58ae87afcbaebdf769 (patch) | |
tree | 126553ce7346c12d7197dd48f9a07b94a7016baa /webpack | |
parent | 34d520c2ca3c5e2482a550c3b47896ed282d3ace (diff) | |
download | SponsorBlock-2b8b72f4df4c34b3f75aab58ae87afcbaebdf769.tar.gz SponsorBlock-2b8b72f4df4c34b3f75aab58ae87afcbaebdf769.zip |
Updates dependencies to fix vulnerabilities
38020 vulnerabilities fixed
Diffstat (limited to 'webpack')
-rw-r--r-- | webpack/webpack.common.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 99dbac35..79fea60b 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -35,11 +35,18 @@ module.exports = env => ({ }, plugins: [ // exclude locale files in moment - new CopyPlugin([ - { from: '.', to: '../', ignore: ['manifest.json'] } - ], - {context: 'public' } - ), + new CopyPlugin({ + patterns: [ + { + from: '.', + to: '../', + globOptions: { + ignore: ['manifest.json'], + }, + context: './public', + } + ] + }), new BuildManifest({ browser: env.browser, pretty: env.mode === "production", |