diff --git a/token/ts/tsconfig-cjs.json b/token/ts/tsconfig-cjs.json index a6ccb462..2b27d46c 100644 --- a/token/ts/tsconfig-cjs.json +++ b/token/ts/tsconfig-cjs.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "CommonJS", + "module": "commonjs", + "target": "es6", "outDir": "lib/cjs" } } diff --git a/token/ts/tsconfig.json b/token/ts/tsconfig.json index 10ff3024..badcc9a0 100644 --- a/token/ts/tsconfig.json +++ b/token/ts/tsconfig.json @@ -1,4 +1,6 @@ { + "include": ["src", "types"], + "exclude": ["node_modules"], "compilerOptions": { "outDir": "lib/esm", "noEmit": false, @@ -6,8 +8,8 @@ "sourceMap": true, "noEmitOnError": true, "stripInternal": true, - "target": "es6", "module": "esnext", + "target": "esnext", "moduleResolution": "node", "strict": true, "esModuleInterop": true, @@ -15,8 +17,6 @@ "isolatedModules": true, "typeRoots": ["node_modules/@types", "types"] }, - "include": ["src", "types"], - "exclude": ["node_modules"], "typedocOptions": { "entryPoints": "src/index.ts", "out": "docs",