Skip to content

Commit

Permalink
build: strip comments from dist files
Browse files Browse the repository at this point in the history
type files still keep their comments
  • Loading branch information
Rebecca Stevens committed Nov 18, 2020
1 parent 4294db0 commit 33fd9be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"removeComments": true,
"baseUrl": ".",
"paths": {
"deepmerge": [
Expand Down
1 change: 1 addition & 0 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"removeComments": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false,
"noImplicitReturns": false,
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.typedef.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"declaration": true,
"declarationDir": "types/",
"emitDeclarationOnly": true
"emitDeclarationOnly": true,
"removeComments": false
},
"include": ["./src"]
}

0 comments on commit 33fd9be

Please sign in to comment.