aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack
diff options
context:
space:
mode:
authorNanobyte <[email protected]>2020-08-13 23:26:08 +0200
committerNanobyte <[email protected]>2020-08-13 23:26:08 +0200
commit2b8b72f4df4c34b3f75aab58ae87afcbaebdf769 (patch)
tree126553ce7346c12d7197dd48f9a07b94a7016baa /webpack
parent34d520c2ca3c5e2482a550c3b47896ed282d3ace (diff)
downloadSponsorBlock-2b8b72f4df4c34b3f75aab58ae87afcbaebdf769.tar.gz
SponsorBlock-2b8b72f4df4c34b3f75aab58ae87afcbaebdf769.zip
Updates dependencies to fix vulnerabilities
38020 vulnerabilities fixed
Diffstat (limited to 'webpack')
-rw-r--r--webpack/webpack.common.js17
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",