Skip to content

Commit cf5ce2c

Browse files
committed
Make CopyWebpackPlugin pattern an array
Fixes regression caused by PR #14
1 parent 5389f84 commit cf5ce2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = (api, options) => {
6565
}
6666
}
6767

68-
webpackConfig.plugins.push(new CopyWebpackPlugin({
68+
webpackConfig.plugins.push(new CopyWebpackPlugin([{
6969
from: './src/manifest.json',
7070
to: 'manifest.json',
7171
transform: (content) => {
@@ -102,7 +102,7 @@ module.exports = (api, options) => {
102102
}
103103
})
104104
}
105-
}))
105+
}]))
106106

107107
if (isProduction) {
108108
webpackConfig.plugins.push(new ZipPlugin({

0 commit comments

Comments
 (0)