Support the ongoing development of →
Last updated 1 year ago.

I don't get this slow on npm run watch. My Laravue project takes ~0.5s on recompiling:

 WAIT  Compiling...                                                                                                                                                                                                                 7:14:05 AM

98% after emitting SizeLimitsPlugin

 DONE  Compiled successfully in 464ms                                                                                                                                                                                               7:14:05 AM

       Asset      Size   Chunks             Chunk Names
/css/app.css   240 KiB  /js/app  [emitted]  /js/app
  /js/app.js  15.6 MiB  /js/app  [emitted]  /js/app
 + 11 hidden assets

Does it happen to you on fresh Laravel?


Hello, thanks for your answer. I had more precision on the problem :

  • app.js compile : 0.3s
  • app.scss compile: 5s After extract of this code from my app.scss, the compilation take 0.4 sec :) :
/* Nunito:200 */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200;
  src: url(/fonts/Nunito-ExtraLight.ttf) format('truetype');

/* Nunito:600 */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url(/fonts/Nunito-SemiBold.ttf) format('truetype');

NB : someone can explain me how work the "code tag" ? impossible to use it...

Last updated 3 years ago.

@bArraxas: You can wrap your code to triple ` (Like markdown syntax on Slack)


Sign in to participate in this thread!


Your banner here too?

bArraxas barraxas Joined 5 Dec 2019


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.