Rich-Harris / vlq

Generate, and decode, base64 VLQ mappings for sourcemaps and other uses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[2.0.2] published package is broken

AviVahl opened this issue · comments

  • import entrypoint is broken. as src folder is not included in published npm package.
  • require entrypoint is broken. dist/index.js should be renamed to dist/index.cjs for it to be forced as commonjs under a "type": "module" package.

FYI @Rich-Harris

whoops! i thought files listed in exports were included; apparently not. fixed, thanks

@Rich-Harris cjs is still broken in 2.0.3. package.json still points to "require": "./dist/index.js". should say "require": "./dist/index.cjs"

whoops, i updated main but not exports. fixed