sha
sha

Reputation: 157

reduce build time with webpack config

I use vue.js, nuxt and webpack in my project. after scaling up of project build time gets more and more. I need to know is there any config in webpack to check and build just changed components and files in the initial build?

Upvotes: 0

Views: 1368

Answers (1)

Aldarund
Aldarund

Reputation: 17621

You can try to experiment with hardsource and cache properties.

https://nuxtjs.org/api/configuration-build/#hardsource

https://nuxtjs.org/api/configuration-build/#cache

That should make subsequent builds much faster

Upvotes: 1

Related Questions