8340cb7c34
The main `tsconfig.json` file is only used for API Extractor, and by VSCode to provide type information. It is _not_ used to compile Puppeteer for shipping. Therefore we can specify `module: "esnext"` in here so that VSCode knows we can use all the latest and greatest module features (primarily, dynamic imports). In `tsconfig.cjs.json` and `tsconfig.esm.json` we set the `module` setting for CJS/ESM respectively.
14 lines
264 B
JSON
14 lines
264 B
JSON
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"target": "ES2019",
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true
|
|
}
|
|
}
|