laravel-5-angular-2-example icon indicating copy to clipboard operation
laravel-5-angular-2-example copied to clipboard

Gulp webpack very slow

Open dariusll opened this issue 9 years ago • 2 comments

http://i.prntscr.com/83b520e01c104914997c4088d847e2df.png Tested on 2 different pc. Webpack build takes about 15~20 seconds. (gulp and gulp watch) Its very hard to code when you have to wait about 20sec at every code change.

Maybe it is possible to gulp vendor.js just once, while I'm working with for example html template. because I think he takes the most time.

dariusll avatar Sep 06 '16 11:09 dariusll

As i know, webpack rebuilds only bundles which was changed.

sanex3339 avatar Sep 06 '16 14:09 sanex3339

In latest commit i disabled uglifying of all code. Now command works faster. Later i will create a --production flag which will enable uglifying of the code.

sanex3339 avatar Sep 08 '16 17:09 sanex3339