-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.esm.json
26 lines (26 loc) · 1.17 KB
/
tsconfig.esm.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
// Extends base TypeScript configuration from 'tsconfig.json'
"extends": "./tsconfig.json",
"compilerOptions": {
// Specifies the module system for the output bundle. "ESNext" refers to the latest version of ECMAScript (JavaScript).
"module": "ESNext",
// The version of JavaScript that the compiler will output. "ESNext" means the latest version.
"target": "ESNext",
// The location where the output files will be placed.
"outDir": "./dist/esm/",
// If enabled (true), generates corresponding '.d.ts' file alongside the output file.
"declaration": true,
// Source map options
"sourceMap": true,
"inlineSources": true
// If enabled, only declaration files will be emitted and no JavaScript files will be output.
// Currently commented out, so JavaScript files are being output as well.
// "emitDeclarationOnly": true
},
// A list of glob patterns that exclude certain files from the compilation.
// Here, it's set to exclude all the files in 'node_modules' and any file ending in '.spec.ts'.
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}