Skip to content

Commit

Permalink
feat: use tslib by default (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson authored and jaredpalmer committed May 2, 2019
1 parent 24f10af commit 01bc516
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ prog
'pretty-quick',
'prettier',
'tsdx',
'tslib',
'typescript',
].sort();

Expand Down
9 changes: 5 additions & 4 deletions templates/basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"include": ["src", "types"],
"compilerOptions": {
"target": "es5",
"module": "ESNext",
"module": "esnext",
"lib": ["dom", "esnext"],
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"rootDir": "./",
Expand All @@ -24,6 +26,5 @@
},
"jsx": "react",
"esModuleInterop": true
},
"include": ["src", "types"],
}
}
}
9 changes: 5 additions & 4 deletions templates/react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"include": ["src", "types"],
"compilerOptions": {
"target": "es5",
"module": "ESNext",
"module": "esnext",
"lib": ["dom", "esnext"],
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"rootDir": "./",
Expand All @@ -24,6 +26,5 @@
},
"jsx": "react",
"esModuleInterop": true
},
"include": ["src", "types"],
}
}
}

0 comments on commit 01bc516

Please sign in to comment.