Skip to content

migration to ESM - #218

Closed
gfx wants to merge 1 commit into
mainfrom
mts
Closed

migration to ESM#218
gfx wants to merge 1 commit into
mainfrom
mts

Conversation

@gfx

@gfx gfx commented Dec 28, 2022

Copy link
Copy Markdown
Member
  • 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

idranme commented May 1, 2023

Copy link
Copy Markdown

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

2 participants