You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to integrate spack in one of my projects with over 200k lines of JS and tried to bundle some modules with it.
In a conclusion, some module bundles worked very great (around 10 modules for 0.3 ms), while most failed ... badly.
From what I can deduct it has to do with the size of the files it requires to bundle - for example if I need to import 400 files in my index it can handle 20-ish... the rest it can't process. After a few hours of trial and error, I noticed it didn't have anything to do with the content, or encoding of the file, but with the size of the file. So excluding a bigger one can make place for others...
I do not know if this behavior is configurable, or if any other one has the same behavior.
I tried to compare it with esbuild which finishes everything in 6s, but unfortunately, I couldn't.
Is spack the official way to go? or did it change meanwhile to swcpack?
The text was updated successfully, but these errors were encountered:
I tried to integrate spack in one of my projects with over 200k lines of JS and tried to bundle some modules with it.
In a conclusion, some module bundles worked very great (around 10 modules for 0.3 ms), while most failed ... badly.
From what I can deduct it has to do with the size of the files it requires to bundle - for example if I need to import 400 files in my index it can handle 20-ish... the rest it can't process. After a few hours of trial and error, I noticed it didn't have anything to do with the content, or encoding of the file, but with the size of the file. So excluding a bigger one can make place for others...
I do not know if this behavior is configurable, or if any other one has the same behavior.
I tried to compare it with esbuild which finishes everything in 6s, but unfortunately, I couldn't.
Is spack the official way to go? or did it change meanwhile to swcpack?
The text was updated successfully, but these errors were encountered: