rspack-contrib / prebundle

Prebundle Node.js dependencies, output a single js file, a package.json file and the dts files.
MIT License
21 stars 5 forks source link

Feature Request: Allow choosing to prefer esm entry or cjs entry #14

Open xc2 opened 2 weeks ago

xc2 commented 2 weeks ago

es module makes sense.

I'd prefer to:

Once we add a resolver library to the codebase, we can also use it to resolve the type declaration file more reliably.