controls-fix
Nolan Lawson 2021-04-11 09:00:10 -07:00 zatwierdzone przez GitHub
rodzic 11fca7b792
commit 3a91ad75b8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -38,7 +38,7 @@ module.exports = {
rules: [
{
test: input => {
return input.endsWith(path.join("_workers", "blurhash.js"));
return input.endsWith(path.join('_workers', 'blurhash.js'))
},
use: {
loader: 'worker-loader',
@ -50,11 +50,11 @@ module.exports = {
{
test: input => {
return (
input.endsWith(path.join("tesseract.js", "dist", "worker.min.js")) ||
input.endsWith(path.join("tesseract.js", "dist", "worker.min.js.map")) ||
input.endsWith(path.join("tesseract.js-core", "tesseract-core.wasm")) ||
input.endsWith(path.join("tesseract.js-core", "tesseract-core.wasm.js"))
);
input.endsWith(path.join('tesseract.js', 'dist', 'worker.min.js')) ||
input.endsWith(path.join('tesseract.js', 'dist', 'worker.min.js.map')) ||
input.endsWith(path.join('tesseract.js-core', 'tesseract-core.wasm')) ||
input.endsWith(path.join('tesseract.js-core', 'tesseract-core.wasm.js'))
)
},
use: {
loader: 'file-loader',