Replies: 1 comment
-
|
@mariomamo @leo-capvano @MatiasRoje @omarluq |
Beta Was this translation helpful? Give feedback.
0 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.
-
My intention was to replace Webpack with Vite and redesign the monorepository to avoid doubled (or even tripled) transpilation of the Javascript between different modes (ie. from ESM to CommonJS, between different versions of Node, etc.)
Webpack is great but there are several problems: general slowlesness and bloatness. Also it fails when it should not or it passes when there are obvious errors in the code. In contrary: we use Vite already for our extensions with more predicatble results.
The main blocker was DI framework we use and the plugin for Vite. Now #1474 uses explicit registration of DI components then it should unblock the migration. Other webpack plugins seems to have Vite alternatives or can be replaced with another idioms.
Also it might be still possible to create the Vite plugin that handles our DI components as well, but it is less important now.
Potential migration plan:
Beta Was this translation helpful? Give feedback.
All reactions