Update Tesseract.js (#14708)
* [WiP] Update Tesseract.js - Update Tesseract.js to 2.2.1 - Use versioned file names - differentiate two progression states: preparing OCR and detecting picture * Get rid of copy-webpack-plugin
This commit is contained in:
parent
f0b6ddd979
commit
5fc5a9f9f1
7 changed files with 86 additions and 174 deletions
|
@ -4,7 +4,10 @@ const { settings, env } = require('../configuration');
|
|||
module.exports = {
|
||||
test: /\.(js|mjs)$/,
|
||||
include: /node_modules/,
|
||||
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
||||
exclude: [
|
||||
/@babel(?:\/|\\{1,2})runtime/,
|
||||
/tesseract.js/,
|
||||
],
|
||||
use: [
|
||||
{
|
||||
loader: 'babel-loader',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue