|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "commonjs" /* Specify what module code is generated. */, |
| 28 | + "module": "ES6" /* Specify what module code is generated. */, |
29 | 29 | // "rootDir": "./src", /* Specify the root folder within your source files. */ |
30 | 30 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ |
31 | 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ |
|
55 | 55 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
56 | 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
57 | 57 | // "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. */ |
58 | | - "outDir": "./dist" /* Specify an output folder for all emitted files. */, |
| 58 | + "outDir": "./dist/esm/" /* Specify an output folder for all emitted files. */, |
59 | 59 | "removeComments": true /* Disable emitting comments. */, |
60 | 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ |
61 | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ |
|
104 | 104 |
|
105 | 105 | /* Completeness */ |
106 | 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
107 | | - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 107 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */, |
| 108 | + "moduleResolution": "node", |
108 | 109 | }, |
109 | 110 | "include": ["src/**/*", "index.ts", ".eslintrc.js"] |
110 | 111 | } |
0 commit comments