Clean up/rationalise paths and thereby increase compatibility for Windows builds

This commit is contained in:
GCHQDeveloper581 2026-06-20 19:06:35 +00:00
parent a0a369a7ef
commit 3a02b337cc
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C

View File

@ -88,8 +88,8 @@ module.exports = {
from: "tesseract/**/*",
to: "assets/"
}, {
context: "node_modules/tesseract.js/",
from: "dist/worker.min.js",
context: "node_modules/tesseract.js/dist",
from: "worker.min.js",
to: "assets/tesseract"
}, {
context: "node_modules/tesseract.js-core/",
@ -221,7 +221,7 @@ module.exports = {
},
{ // Third party images are inlined
test: /\.(png|jpg|gif)$/,
exclude: /web\/static/,
include: /node_modules/,
type: "asset/inline",
},
]