Approaches to bundling #400
FredrikAugust
started this conversation in
General
Replies: 1 comment 5 replies
-
|
Have you profiled your startup performance and identified whether it's actually |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hey! We're avid users of awilix, and have a great time using it. However, we're starting to run into performance issues during startup due to a lot of dependencies (not Awilix' fault), and the logical next step is to implement bundling. This, however, is not compatible with
loadModulesusing a glob, from what I've understood. So I wanted to hear if/how people have solved this challenge. Moving to manually registering everything seems like the most straight-forward, but can be tedious. I know vite for instance hasimport.meta.globwhich you can use, but we use rslib so we don't have that luxury. Furthermore, we also use dynamic strings to determine the globs which is incompatible withimport.meta.glob.Beta Was this translation helpful? Give feedback.
All reactions