Reputation: 617
As far as I know /dist
is for production environments. It contains uglified and similar files. But why do we need a /build
folder ?
Upvotes: 45
Views: 27602
Reputation: 11
As Mentioned above Build is the final outcome of the files wrapped in a package which is used while hosting the site but the catch is the build
also minifies the whole production packages and only keeps modules that is necessary for running.
Upvotes: 0
Reputation: 1
Dist is stores all the files and folders that are required to host on server. Build is the final built package of files that will be deployed somewhere.
Upvotes: 0
Reputation: 609
Dist is for distribution and contains minified code. Build contains code that is not minified and not ready for production deployment.
Check this link… What is the role of src and dist folders?
Upvotes: 45