Skip to content

Commit 9b4d2a0

Browse files
fix dist bundle
1 parent c713dc8 commit 9b4d2a0

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ tests
88
*.editorconfig
99
*.gitignore
1010
*.eslintignore
11+
tsconfig.json

tsconfig.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"sourceMap": true, /* Generates corresponding '.map' file. */
1414
// "outFile": "./", /* Concatenate and emit output to single file. */
1515
"outDir": "./build/", /* Redirect output structure to the directory. */
16-
"rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16+
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1717
// "composite": true, /* Enable project compilation */
1818
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
1919
// "removeComments": true, /* Do not emit comments to output. */
@@ -61,5 +61,10 @@
6161
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6262

6363
"resolveJsonModule": true
64-
}
64+
},
65+
"exclude": [
66+
"node_modules",
67+
"build",
68+
"tests"
69+
]
6570
}

0 commit comments

Comments
 (0)