aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack
diff options
context:
space:
mode:
authorNanobyte <[email protected]>2020-08-13 23:32:38 +0200
committerAjay Ramachandran <[email protected]>2020-08-27 21:18:21 -0400
commite0c11752e57891b34e9d6c7237d5f87ac02c69af (patch)
treeac89fd092f33d8be303384bac208fac29ecf3d9e /webpack
parentfc48198ac454a83c734b2b1be100362cd6ce709a (diff)
downloadSponsorBlock-e0c11752e57891b34e9d6c7237d5f87ac02c69af.tar.gz
SponsorBlock-e0c11752e57891b34e9d6c7237d5f87ac02c69af.zip
Revert dependency changes
Diffstat (limited to 'webpack')
-rw-r--r--webpack/webpack.common.js17
1 files changed, 5 insertions, 12 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js
index 79fea60b..99dbac35 100644
--- a/webpack/webpack.common.js
+++ b/webpack/webpack.common.js
@@ -35,18 +35,11 @@ module.exports = env => ({
},
plugins: [
// exclude locale files in moment
- new CopyPlugin({
- patterns: [
- {
- from: '.',
- to: '../',
- globOptions: {
- ignore: ['manifest.json'],
- },
- context: './public',
- }
- ]
- }),
+ new CopyPlugin([
+ { from: '.', to: '../', ignore: ['manifest.json'] }
+ ],
+ {context: 'public' }
+ ),
new BuildManifest({
browser: env.browser,
pretty: env.mode === "production",