Visitar URL original
refactor tsconfig to fix builds (#490) · firebase/superstatic@2b97f65 · GitHub
Skip to content

Commit 2b97f65

Browse files
authored
refactor tsconfig to fix builds (#490)
1 parent 5e8cba4 commit 2b97f65

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

‎tsconfig.base.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"declaration": true,
5+
"module": "commonjs",
6+
"moduleResolution": "Node",
7+
"outDir": "lib",
8+
"sourceMap": true,
9+
"strict": true,
10+
"target": "ES2020"
11+
},
12+
}

‎tsconfig.json‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
2-
"compilerOptions": {
3-
"allowJs": true,
4-
"declaration": true,
5-
"module": "commonjs",
6-
"moduleResolution": "Node",
7-
"outDir": "lib",
8-
"sourceMap": true,
9-
"strict": true,
10-
"target": "ES2020"
11-
},
2+
"extends": "./tsconfig.base.json",
123
"include": [
134
"examples/**/*",
145
"src/**/*",

‎tsconfig.publish.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"sourceMap": false
5-
}
5+
},
6+
"include": [
7+
"src/**/*"
8+
]
69
}

0 commit comments

Comments
 (0)