Skip to content

Commit

Permalink
Don't strip comments from tsc build output (better intelli-sense, bun…
Browse files Browse the repository at this point in the history
…dlers should be responsible for stripping)
  • Loading branch information
JackNoordhuis committed Sep 18, 2023
1 parent 17bd08e commit be0be88
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"src/**/*.js"
],
"scripts": {
"build": "tsc --inlineSourceMap --removeComments -p ./",
"build-ci": "tsc --pretty false --inlineSourceMap --removeComments --listEmittedFiles -p ./",
"build": "tsc --inlineSourceMap -p ./",
"build-ci": "tsc --pretty false --inlineSourceMap --listEmittedFiles -p ./",
"dev": "tsc --watch -p ./"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions examples/package/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"strict": true,
"declaration": true,
"noEmit": false,
"removeComments": false,
"lib": [
"es2017",
"dom"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"index.js"
],
"scripts": {
"build": "tsc --inlineSourceMap --removeComments -p ./",
"build-ci": "tsc --pretty false --inlineSourceMap --removeComments --listEmittedFiles -p ./",
"build": "tsc --inlineSourceMap -p ./",
"build-ci": "tsc --pretty false --inlineSourceMap --listEmittedFiles -p ./",
"dev": "tsc --watch -p ./",
"docs": "npx typedoc --plugin typedoc-plugin-extras --out docs-build --cacheBust index.ts",
"docs-ci": "npx typedoc --plugin typedoc-plugin-extras --gitRemote dist --out docs-build --cacheBust index.ts"
Expand Down
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,
"declaration": true,
"noEmit": false,
"removeComments": false,
"lib": [
"es2017",
"dom"
Expand Down

0 comments on commit be0be88

Please sign in to comment.