Ooker
Ooker2y ago

Bundle without export

Is it possible to have the output not having export... line?
4 Replies
NeTT
NeTT2y ago
I don't think so
Ooker
OokerOP2y ago
But why does it have it at the beginning? If I bundle all modules into a file, then surely I don't need to export it? No?
NeTT
NeTT2y ago
it is meant to bundle a "self-contained ES module" for use within Deno You'd usually bundle all your dependencies into one file and import just that one file And, bundle is getting deprecated anyway
Ooker
OokerOP2y ago
yeah, I can see that in the log. I just want to know if this is common in any bundler

Did you find this page helpful?