diff options
| author | Uri Shaked | 2019-12-07 21:36:47 +0200 |
|---|---|---|
| committer | Uri Shaked | 2019-12-07 21:36:47 +0200 |
| commit | cdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b (patch) | |
| tree | 7ab3ff747261ce7b2ebd478330a0fb3e0d9e6aad /tsconfig.json | |
| parent | chore: release 0.4.0 (diff) | |
| download | avr8js-cdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b.tar.gz avr8js-cdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b.tar.bz2 avr8js-cdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b.zip | |
feat: publish both CJS and ESM to npm
also stop publishing source maps
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 9 |
1 files changed, 4 insertions, 5 deletions
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"] |
