From cdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 7 Dec 2019 21:36:47 +0200 Subject: feat: publish both CJS and ESM to npm also stop publishing source maps --- tsconfig.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index 0133563..3d26e21 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,16 @@ { "compilerOptions": { - "target": "es5", - "module": "commonjs", + "target": "ES2015", + "module": "ES2015", "moduleResolution": "node", "noImplicitAny": true, "removeComments": false, "sourceMap": true, "declaration": true, - "newLine": "LF", "noEmitOnError": true, "rootDir": "src", - "outDir": "dist", - "lib": ["es2015"], + "outDir": "dist/esm", + "lib": ["es2015"] }, "include": ["src/**/*.ts"], "exclude": ["src/**/*.spec.ts"] -- cgit v1.2.3