Reputation: 3258
I just get start to learn webpack, and I feel its building performance is not very good, even though my testing project only contains few lines of code. How to optimize the building performance of webpack.
Upvotes: 0
Views: 821
Reputation: 1683
you should use watchmode for this purpose, it will only recompile the changes in the sourcefiles. It usually takes me 1 secound in a pretty big project.
Run:
webpack --watch
In any commandline, or for example the visual studio task runner explorer
Upvotes: 1