diff --git a/index.js b/index.js index 608ec9e..85e2918 100644 --- a/index.js +++ b/index.js @@ -65,7 +65,7 @@ module.exports = (api, options) => { } } - webpackConfig.plugins.push(new CopyWebpackPlugin({ + webpackConfig.plugins.push(new CopyWebpackPlugin([{ from: './src/manifest.json', to: 'manifest.json', transform: (content) => { @@ -102,7 +102,7 @@ module.exports = (api, options) => { } }) } - })) + }])) if (isProduction) { webpackConfig.plugins.push(new ZipPlugin({