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>
This commit is contained in:
parent
346d9b3d2e
commit
21326794af
3 changed files with 110 additions and 56 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue