As mix is just built on top if webpack with a bunch of webpack plugins, you probably need to find the change in one of those
Dec 20, 2021
2
Level 3
After update to latest, code splitting/extraction changed
So, i've noticed that ever since i've updated to the latest Laravel Mix version the code splitting has changed. It used to detect whenever i've imported the same javascript file in multiple scripts and it was extracting those to a separate file automatically while now it only extracts to a separate files dynamic imports (eg. import().then() )
I've looked at the documentation upgrade section but none was said about code splitting.. Any idea what happened?
Please or to participate in this conversation.