Re:You may not need a bundler for your NPM library
by andrewaylett on Sunday September 11, 2022 @11:06AM
(#32800209)
That very much depends on the build -- if you've a source map, then it may very well be possible. And while I know not everyone publishes them, I strongly recommend doing so.
But honestly, ship your sources with your generated files. Please.
so that you don't have to pull node_modules every time and install. i;m not totally sure but i dont think you can turn a minified bundled js files back into their original node_module source files...