huozhi / bunchee

Zero config bundler for ECMAScript and TypeScript packages
https://npmjs.com/bunchee
945 stars 29 forks source link

fix: prepend plugin sourcemap #603

Closed huozhi closed 6 days ago

huozhi commented 6 days ago

Fix the error when build with --sourcemap

[plugin prependDirective] Sourcemap is likely to be incorrect: a plugin (prependDirective) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help