diff --git a/tsconfig.base.json b/tsconfig.base.json index 971b37f..47744a0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -19,13 +19,5 @@ "es2015", "es2015.core" ] - }, - "include": [ - "src" - ], - "exclude": [ - "dist", - "node_modules", - "test" - ] -} \ No newline at end of file + } +} diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index 8411f0d..5474a45 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -1,8 +1,8 @@ { - "extends": "./tsconfig.base.json", + "extends": "./tsconfig.src.base.json", "compilerOptions": { "module": "commonjs", "outDir": "./dist/cjs", "target": "ES2015" } -} \ No newline at end of file +} diff --git a/tsconfig.esm.json b/tsconfig.esm.json index d6aae5e..e7a334c 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -1,8 +1,8 @@ { - "extends": "./tsconfig.base.json", + "extends": "./tsconfig.src.base.json", "compilerOptions": { "module": "es6", "outDir": "./dist/esm", "target": "es6" } -} \ No newline at end of file +} diff --git a/tsconfig.src.base.json b/tsconfig.src.base.json new file mode 100644 index 0000000..452e67c --- /dev/null +++ b/tsconfig.src.base.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.base.json", + "include": [ + "src" + ], + "exclude": [ + "dist", + "node_modules", + "test" + ] +}