From 57a99b2b27518ab5709e0731862e7f748216c792 Mon Sep 17 00:00:00 2001 From: Hugo <hnouts.dev@gmail.com> Date: Thu, 25 Feb 2021 15:01:35 +0100 Subject: [PATCH] update plugin instanciation --- webpack.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 23e5ee8..bf6f80d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -36,14 +36,16 @@ module.exports = { filename: 'index.js' }, plugins: [ - new CopyPlugin([ + new CopyPlugin({ + patterns: [ { from: 'manifest.konnector' }, { from: 'package.json' }, { from: 'README.md' }, { from: 'assets', transform: optimizeSVGIcon }, { from: '.travis.yml' }, { from: 'LICENSE' } - ]), + ] + }), new webpack.DefinePlugin({ __WEBPACK_PROVIDED_MANIFEST__: JSON.stringify(readManifest()) }) -- GitLab