diff --git a/src/web/isDynamic.ts b/src/web/isDynamic.ts index d0bec2e88..e9a638e81 100644 --- a/src/web/isDynamic.ts +++ b/src/web/isDynamic.ts @@ -1,4 +1,5 @@ -import englishWords from 'an-array-of-english-words/index.json'; +// eslint-disable-next-line @typescript-eslint/no-var-requires +const englishWords = require('an-array-of-english-words/index.json'); const layoutWords = ['col', 'fa', 'grid']; diff --git a/tsconfig.json b/tsconfig.json index c31d2031d..2a30ea08c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,8 +7,7 @@ "sourceMap": true, "rootDir": "./src", "outDir": "./build", - "esModuleInterop": true, - "resolveJsonModule": true + "esModuleInterop": true }, "include": ["src/**/*.ts"], "exclude": ["node_modules"]