Skip to content
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

How to denoify a ECMAScript modules package? #29

Closed
yandeu opened this issue Aug 7, 2021 · 2 comments · Fixed by #30
Closed

How to denoify a ECMAScript modules package? #29

yandeu opened this issue Aug 7, 2021 · 2 comments · Fixed by #30

Comments

@yandeu
Copy link
Collaborator

yandeu commented Aug 7, 2021

Hi

I'm trying to denoify a package that outputs only ESM code. But when I denoify it, the output is:

import { hello } from './feature.js/index.ts'

instead of

import { hello } from './feature.ts'

Any idea what I should change? Here is my repsitory.

Thanks a lot!

@garronej
Copy link
Owner

garronej commented Aug 8, 2021

Hi @yandeu,
I will have a look if there is something easy I can do about it but currently Denoify only works with TypeScript codebase.

@yandeu
Copy link
Collaborator Author

yandeu commented Aug 8, 2021

Hi @garronej,

Thanks for looking at it. It actually is a TypeScript codebase.

It should run on Deno and Node.js (esm-only).

The repo is pretty small. I guess you will immediately understand the issue.

gitbook-com bot pushed a commit that referenced this issue Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants