Skip to content

Commit 74be3db

Browse files
Optimize Output
Disable lib imports and remove comments from the output.
1 parent 5bf8ecc commit 74be3db

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1111
/* Language and Environment */
1212
"target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
13-
"lib": [
14-
"DOM",
15-
"ESNext"
16-
], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
13+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1714
// "jsx": "preserve", /* Specify what JSX code is generated. */
1815
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
1916
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
@@ -54,7 +51,7 @@
5451
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
5552
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5653
"outDir": "./bin", /* Specify an output folder for all emitted files. */
57-
// "removeComments": true, /* Disable emitting comments. */
54+
"removeComments": true, /* Disable emitting comments. */
5855
// "noEmit": true, /* Disable emitting files from a compilation. */
5956
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
6057
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */

0 commit comments

Comments
 (0)