diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2020-06-06 06:42:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 06:42:23 +0900 |
commit | 21326794af4fff4157a37705300fc3ff185f5aba (patch) | |
tree | d9eef39d988920bf007a33f290ea52018cc5f891 /config | |
parent | 346d9b3d2eb2021b89333f1c54e8876d9a16ee24 (diff) |
Bump copy-webpack-plugin from 5.1.1 to 6.0.1 (#13861)
* Bump copy-webpack-plugin from 5.1.1 to 6.0.1 Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.1.1 to 6.0.1. - [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.1...v6.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix new syntax for copy-webpack-plugin Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack/shared.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js index 81c02acd4..15a209253 100644 --- a/config/webpack/shared.js +++ b/config/webpack/shared.js @@ -85,10 +85,12 @@ module.exports = { writeToDisk: true, publicPath: true, }), - new CopyPlugin([ - { from: 'node_modules/tesseract.js/dist/worker.min.js', to: 'ocr' }, - { from: 'node_modules/tesseract.js-core/tesseract-core.wasm.js', to: 'ocr' }, - ]), + new CopyPlugin({ + patterns: [ + { from: 'node_modules/tesseract.js/dist/worker.min.js', to: 'ocr' }, + { from: 'node_modules/tesseract.js-core/tesseract-core.wasm.js', to: 'ocr' }, + ], + }), ], resolve: { |