diff --git a/packages/remark-cli/tsconfig.json b/packages/remark-cli/tsconfig.json index 7e61871a6..f7df56e58 100644 --- a/packages/remark-cli/tsconfig.json +++ b/packages/remark-cli/tsconfig.json @@ -1,4 +1,7 @@ { "extends": "../../tsconfig.json", - "include": ["*.js"] + "include": ["*.js"], + "compilerOptions": { + "resolveJsonModule": true + } } diff --git a/tsconfig.json b/tsconfig.json index 6207d022b..380268e01 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,12 @@ { "include": ["script/**/*.js", "test/**/*.js"], "compilerOptions": { - "target": "ES2020", - "lib": ["ES2020"], - "module": "ES2020", - "moduleResolution": "node", - "resolveJsonModule": true, - "allowJs": true, + "target": "es2021", + "lib": ["es2021"], + "module": "node16", "checkJs": true, "declaration": true, "emitDeclarationOnly": true, - "allowSyntheticDefaultImports": true, "skipLibCheck": true, "strict": true }