Closed gfx closed 1 year ago
npm run test
npx webpack --bail
dist.es5+esm
npx run test:browser
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.
import *.ts
*.js
*.d.ts
import *.mjs
import *.ts enables deno to use code from the src directory directly. This is required for use via deno.land/x/.
deno.land/x/
Related: #229
npm run test
npx webpack --bail
(dist.es5+esm
)npx run test:browser
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 haveimport *.mjs
.