4 ms·
Isn't that exactly what bundling does?
by korijn 4y ago
Isn't that exactly what bundling does?
- 5350-uiop-1130 4y agoi think bundling generates your build from the source, but i mean generating a source from a build. so what i mean is more like reverse bundling. 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...
- andrewaylett 4y agoThat 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.