So the issue is that when I use the extract flag, it produces an empty css file. Not sure if anyone have been able to fix that
Dec 12, 2019
2
Level 3
Mix extract with vue dynamic import
Hi,
I am using mix v5 with the extract option to split my code. This is working great and with no issues, but once I dynamically import vue components it breaks. The build itself goes with no errors, but when I view the resulting site, It looks like this
And when I try just dynamic importing it goes back to work normally. Not sure what is happening.
Level 8
There's an issue with Mix and dynamic imports and if memory serves, it seems like doing extract really triggered it. There won't be a fix for it until Webpack 5 is released, which is supposed to be sometime in 2020.
Please or to participate in this conversation.