From 21326794af4fff4157a37705300fc3ff185f5aba Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2020 06:42:23 +0900 Subject: 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] * 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 --- config/webpack/shared.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config/webpack') 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: { -- cgit