Closed marklai1998 closed 2 months ago
in 1.5.0 the esm "export" property points to index.mjs and index.d.mts file, but the build doesn't include it
index.mjs
index.d.mts
pull latest, pnpm build
N/A
pnpm
This change broke the build, by switching to type "module" it generate .js(ESM) and .cjs(cjs) instead of .js(cjs) and .mjs(ESM)
.js(ESM)
.cjs(cjs)
.js(cjs)
.mjs(ESM)
https://github.com/unplugin/unplugin-swc/compare/v1.4.5...v1.5.0#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R3
Describe the bug
in 1.5.0 the esm "export" property points to
index.mjs
andindex.d.mts
file, but the build doesn't include itReproduction
pull latest, pnpm build
System Info
Used Package Manager
pnpm
Validations