about summary refs log tree commit diff
path: root/config/webpack/rules/node_modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/rules/node_modules.js')
-rw-r--r--config/webpack/rules/node_modules.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/webpack/rules/node_modules.js b/config/webpack/rules/node_modules.js
index 7ed05504b..c084d3a57 100644
--- a/config/webpack/rules/node_modules.js
+++ b/config/webpack/rules/node_modules.js
@@ -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',