docs(README): Updated code in "Usage with webpack without bundling" section (#240)

This commit is contained in:
Timofey Kuznetsov 2020-10-05 13:19:29 +03:00 committed by GitHub
parent b0596ad616
commit 01fb67f047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -203,11 +203,11 @@ module.exports = {
},
*/
plugins: [
new CopyWebpackPlugin([
{
from: 'node_modules/webextension-polyfill/dist/browser-polyfill.js'
}
])
new CopyWebpackPlugin({
patterns: [{
from: 'node_modules/webextension-polyfill/dist/browser-polyfill.js',
}],
})
]
}
```