Skip to content

Commit e52f2ec

Browse files
committed
:bugs: fix lib location in tsconfig
1 parent e0f9ca9 commit e52f2ec

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"license": "MIT",
2828
"scripts": {
2929
"prebuild": "node tools/delete.js",
30-
"build": "tsc --p src/tsconfig.app.json --lib esnext && tsc --p src/tsconfig.esm.json --lib esnext",
30+
"build": "tsc --p src/tsconfig.app.json && tsc --p src/tsconfig.esm.json",
3131
"prepublishOnly": "yarn run build && node tools/copy.js",
3232
"test": "ts-node test.ts"
3333
},

tsconfig.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
"module": "commonjs",
44
"target": "es2015",
55
"noImplicitAny": false,
6-
"sourceMap": true,
6+
"sourceMap": false,
77
"allowJs": true,
88
"moduleResolution": "node",
99
"emitDecoratorMetadata": true,
1010
"experimentalDecorators": true,
11-
"outDir": "dist"
11+
"outDir": "dist",
12+
"lib" : [
13+
"esnext"
14+
]
1215
},
13-
"lib" : [
14-
"esnext"
15-
],
16+
1617
"include": [
1718
"src/**/*.ts",
1819
"examples.ts"

0 commit comments

Comments
 (0)