You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// import from ./file.tsimport{b}from'./file'// [ERR_MODULE_NOT_FOUND]// import from a folder/index.tsimport{a}from'./folder'// [ERR_UNSUPPORTED_DIR_IMPORT]
@ebeloded You should either import { b } from './file.ts' or import { b } from './file.js'. Refer to this comment for more details. Let us know whether this works for you.
Context:
create-playwright
Code Snippet
Describe the bug
In ESM project (TypeScript) imports don't work
Reproduction repo: https://github.com/ebeloded/playwright-13515
The text was updated successfully, but these errors were encountered: