test: fix lint (#2032)
This commit is contained in:
parent
11fca7b792
commit
3a91ad75b8
|
@ -38,7 +38,7 @@ module.exports = {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: input => {
|
test: input => {
|
||||||
return input.endsWith(path.join("_workers", "blurhash.js"));
|
return input.endsWith(path.join('_workers', 'blurhash.js'))
|
||||||
},
|
},
|
||||||
use: {
|
use: {
|
||||||
loader: 'worker-loader',
|
loader: 'worker-loader',
|
||||||
|
@ -50,11 +50,11 @@ module.exports = {
|
||||||
{
|
{
|
||||||
test: input => {
|
test: input => {
|
||||||
return (
|
return (
|
||||||
input.endsWith(path.join("tesseract.js", "dist", "worker.min.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', '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')) ||
|
||||||
input.endsWith(path.join("tesseract.js-core", "tesseract-core.wasm.js"))
|
input.endsWith(path.join('tesseract.js-core', 'tesseract-core.wasm.js'))
|
||||||
);
|
)
|
||||||
},
|
},
|
||||||
use: {
|
use: {
|
||||||
loader: 'file-loader',
|
loader: 'file-loader',
|
||||||
|
|
Loading…
Reference in New Issue