mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
523b487e88
* feat(puppeteer): export esm modules in package.json Signed-off-by: Randolf Jung <jrandolf@chromium.org> Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com> Co-authored-by: Randolf Jung <jrandolf@chromium.org>
17 lines
551 B
JSON
17 lines
551 B
JSON
/**
|
|
* This configuration only exists for the API Extractor tool and for VSCode to use. It is NOT the tsconfig used for compilation.
|
|
* For CJS builds, `tsconfig.cjs.json` is used, and for ESM, it's `tsconfig.esm.json`.
|
|
* See the details in CONTRIBUTING.md that describes our TypeScript setup.
|
|
*/
|
|
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
/* This module setting is just for VSCode so it doesn't throw error when we
|
|
use dynamic imports.
|
|
*/
|
|
"module": "esnext"
|
|
},
|
|
"include": ["src"],
|
|
}
|