Webpacker alternatives - which path should we go to? #8783
Replies: 8 comments 33 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Based on the investigation done for implementing #8745, I would conclude the best approach for the task at hand would be
Imho, the importmaps makes more sense when discussing SPA, but we can benefit from it as it would cache individual js files and the user impact after a deployment would be minimal ... |
Beta Was this translation helpful? Give feedback.
-
As shakapacker was selected for the time being to move development forward without causing too much friction for different stakeholders, I think it would be a good time to write down a list of requirements what we have for the pipeline and what we have learned over these several migrations, in order to make the future migration easier:
Feel free to add to this list any requirements. I tried to keep the technology preferences (e.g. HTTP version, importmaps, etc.) out of this list, just to keep it focused on the features that developers need. There are some other discussions above about those technical preferences that need to be taken into account but those are up for future discussion. |
Beta Was this translation helpful? Give feedback.
-
As we are experiencing very bad performance with the CSS building process especially with v0.28, I have been testing the build process using ESBuild instead of Webpack (with different configurations) and I wanted to share some conclusions and finding from this effort:
If you are interested in testing it yourself, you can find the results of the investigation from the following resources. Running custom ESBuild asset packer with almost no changes to the current SCSS files:
Running custom ESbuild asset packer without SCSS compiler in the equation (PostCSS only, requires changes to the SCSS files):
|
Beta Was this translation helpful? Give feedback.
-
As its README says, Webpacker is dead:
As it's a gem that we're using, and as a matter of fact we're in a release candidate version, we should make a decision about what's the best course of action, with its pros and cons.
I'll open a new thread inside this discussion to talk pros and cons about every one of these options before we make a decision.
Beta Was this translation helpful? Give feedback.
All reactions