From 01fb67f0475473fbedea061323a9fc030ee2094c Mon Sep 17 00:00:00 2001 From: Timofey Kuznetsov Date: Mon, 5 Oct 2020 13:19:29 +0300 Subject: [PATCH] docs(README): Updated code in "Usage with webpack without bundling" section (#240) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bf071ee..4b0260d 100644 --- a/README.md +++ b/README.md @@ -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', + }], + }) ] } ```