Closed teleclimber closed 2 years ago
Pro/cons of bundling/not-bundling:
Pro-bundling:
Pro-not-bundling:
Note that as of 425d612002398dfd90a0ea71a524135b95358741, the app code is loaded statically.
Furthermore, you can expect Deno to have a vendoring feature some day, which could be a big help here.
My current thinking is that apps will be usable without bundling (so long as they do not load remote modules dynamically), but there will also be support (and maybe preference for) apps that have all deps in the vendor dir. It would just be a characteristic of the published app: pre-bundled, or requires accessing external code. Further, anybody can create a bundled version of an unbundled app.
Going to close this because not actionable right now because static loading of app is compatible with restrictive allow-net
, at least for simple apps.
Some issues we are facing now:
This is very relevant for dev experience.