Skip to content

Commit

Permalink
build: add declarationMap compiler option to base ts config (#1964)
Browse files Browse the repository at this point in the history
* build: add declarationMap compiler option to base ts config

* emit declaration files for server

* emit declarations in client
  • Loading branch information
a-b-r-o-w-n authored Feb 6, 2020
1 parent d52c4f2 commit 189722c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Composer/packages/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "build",
"allowJs": true,
"declaration": false,
"module": "esnext",
"baseUrl": ".",
"paths": {
Expand Down
1 change: 0 additions & 1 deletion Composer/packages/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": false,
"outDir": "./build/",
"sourceMap": true,
"target": "es6",
Expand Down
1 change: 1 addition & 0 deletions Composer/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"allowJs": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"jsx": "react",
"module": "commonjs",
Expand Down

0 comments on commit 189722c

Please sign in to comment.