Skip to content

migration to ESM #218

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

Closed
wants to merge 1 commit into from
Closed

migration to ESM #218

wants to merge 1 commit into from

Conversation

gfx
Copy link
Member

@gfx gfx commented Dec 28, 2022

  • npm run test
  • npx webpack --bail (dist.es5+esm)
  • npx run test:browser
  • test the baked packages

TypeScript 5.0 supports import *.ts but it isn't intended to be used in code like this library. Even under that feature, libraries that are released to npm with *.js + *.d.ts should have import *.mjs.

@idranme
Copy link

idranme commented May 1, 2023

import *.ts enables deno to use code from the src directory directly. This is required for use via deno.land/x/.

image

Related: #229

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 this pull request may close these issues.

2 participants