Supercedes https://github.com/microsoft/playwright/pull/31915, closes https://github.com/microsoft/playwright/issues/31811. When TypeScript resolves a specifier via path mapping, it does not interpret `package.json`. If path mapping resolves to a directory, it only looks at the `index.js` file in that directory if it's in CommonJS mode. We need to mirror this in our `esmLoader.ts`. --------- Co-authored-by: Dmitry Gozman <dgozman@gmail.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| components | ||
| config | ||
| electron | ||
| image_tools | ||
| installation | ||
| library | ||
| page | ||
| playwright-test | ||
| stress | ||
| third_party/proxy | ||
| webview2 | ||
| .eslintrc.js | ||
| tsconfig.json | ||