This website requires JavaScript.
Explore
Help
Sign In
thunderstrike
/
puppeteer
Watch
2
Star
0
Fork
0
You've already forked puppeteer
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
49f25e2412
puppeteer
/
test
/
tsconfig.test.json
7 lines
94 B
JSON
Raw
Normal View
History
Unescape
Escape
chore: vendor Mitt & update project structure (#6209) * chore: vendor Mitt into src/common/third-party As discussed in #6203 we need to vendor our common dependencies in so that when we ship an ESM build all imports point to file paths and do not rely on Node resolution (e.g. a browser does not understand `import mitt from 'mitt'`).
2020-07-14 15:57:29 +00:00
{
"extends"
:
"../tsconfig.base.json"
,
chore(agnostic): Remove use of util.promisify (#6446) In `src/common` we now use `fs.promises.X` which we can dynamically `import`. In a browser environment this code will never run because it's gated on `isNode` (in a future PR we will add tree-shaking to the bundle step such that this code is eliminated). By using `import`, we ensure TypeScript still can track types and give good type information. In `src/node` we continue to use `util.promisify` but that's not a concern as that code explicitly is never run in the browser.
2020-09-28 09:35:35 +00:00
"compilerOptions"
:
{
"module"
:
"CommonJS"
}
chore: vendor Mitt & update project structure (#6209) * chore: vendor Mitt into src/common/third-party As discussed in #6203 we need to vendor our common dependencies in so that when we ship an ESM build all imports point to file paths and do not rely on Node resolution (e.g. a browser does not understand `import mitt from 'mitt'`).
2020-07-14 15:57:29 +00:00
}
Reference in New Issue
Copy Permalink