aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorUri Shaked2019-12-07 21:36:47 +0200
committerUri Shaked2019-12-07 21:36:47 +0200
commitcdcd3e9de2ee4f5b7dfa4fc68001a0c10fc62f9b (patch)
tree7ab3ff747261ce7b2ebd478330a0fb3e0d9e6aad /tsconfig.json
parentchore: release 0.4.0 (diff)
downloadavr8js-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.json9
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"]