test: fix lint (#2032)
This commit is contained in:
parent
11fca7b792
commit
3a91ad75b8
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue