-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpile ESM import #29
Comments
Related: microsoft/TypeScript#43329 Possible related/workaround (to check): @brillout/import |
Any progress? |
I think no, some help is needed |
I'll be looking into that. |
For ESM packages I've released |
@radarsu same error with
const { load } = require('ts-import')
load('./test.ts') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
yarn init -y
yarn set version canary
yarn add devalue ts-import typescript
(devalue is an ESM)test.ts
filestart.js
fileyarn node start.js
output:
The text was updated successfully, but these errors were encountered: