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
{{ message }}
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
We've discussed this in other stories offline, but we don't have an official issue to track it to. I'm interested to explore this and see how it impacts build performance.
The text was updated successfully, but these errors were encountered:
I'd be really interested in seeing what people come up with for using Webpack in a Drupal theme.
I did some experimentation with Webpack a few months ago, including looking at how Particle handles it, but felt like the idea of having everything in one bundle (or a bundle and a vendor bundle) seems to go against the D8 idea of splitting your FE dependencies into libraries and loading them only on routes that need them. I looked at creating a Webpack bundle for each component or content type, but then you end up with more JS than necessary as there is a fair amount of Webpack boilerplate code added to each bundle, so more bundles == more boilerplate.
I'm sure there's an awesome way of using Webpack but finding it was a bit beyond me at the time!
We've discussed this in other stories offline, but we don't have an official issue to track it to. I'm interested to explore this and see how it impacts build performance.
The text was updated successfully, but these errors were encountered: