Very Long Compile Times vs. Elixir
See original GitHub issue- Laravel Mix Version: 0.8.1
- Node Version (
node -v
): 7.5.0 - NPM Version (
npm -v
): 4.1.2 - OS: MacOS 10.12.3 (16D32)
I’m getting very long compile times, averaging about 33s with npm run dev
. I have one, single file Vue component, and and a main .scss that take roughly 15s each during compilation. Removing sourcemaps and versioning does not seem to affect build time. Using the default mix.config.
I’d be happy to provide my .scss and .vue if needed, but I don’t believe I have anything out of the ordinary going on. I don’t recall how fast Elixir was compiling, but it was fast enough that I would not think anything of it. I had manually moved what I needed to a brand new Laravel 5.4 install, so I’d be pretty confident that I should not have any conflicts if that’s possible.
Thanks, and please let me know if I can provide you with any other relevant information.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
Same issue But when I changed mix version to 0.6 compile time became good I think the problem is in 0.7 and 0.8 versions
It’s solved the same problem for me: