What is the dist build target folder in Yeoman / Grunt / Angular?

In configuration readings for generators like these , I often see options like --dist-path='dist' customize build target folder, relative to cwd, default is dist

Also, in my own grunt folder, I see:

  var appConfig = { app: require('./bower.json').appPath || 'app', dist: '../server/dist' }; 

What is it? It looks like it is installed by default on my server directory, but I have no idea what it is for. Can someone explain me the purpose of dist for me?

+5
source share
1 answer

The dist folder contains a mini version / enlarged / concatenated / etc version of your code. Yeoman generators typically run grunt / gulp tasks to prepare your application for production by completing several tasks and listing the results in the dist folder.

Dist stands for dist .

More details here .

+4
source

All Articles