Commit 57a99b2b authored by Hugo's avatar Hugo
Browse files

update plugin instanciation

parent b3cf143c
...@@ -36,14 +36,16 @@ module.exports = { ...@@ -36,14 +36,16 @@ module.exports = {
filename: 'index.js' filename: 'index.js'
}, },
plugins: [ plugins: [
new CopyPlugin([ new CopyPlugin({
patterns: [
{ from: 'manifest.konnector' }, { from: 'manifest.konnector' },
{ from: 'package.json' }, { from: 'package.json' },
{ from: 'README.md' }, { from: 'README.md' },
{ from: 'assets', transform: optimizeSVGIcon }, { from: 'assets', transform: optimizeSVGIcon },
{ from: '.travis.yml' }, { from: '.travis.yml' },
{ from: 'LICENSE' } { from: 'LICENSE' }
]), ]
}),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
__WEBPACK_PROVIDED_MANIFEST__: JSON.stringify(readManifest()) __WEBPACK_PROVIDED_MANIFEST__: JSON.stringify(readManifest())
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment