In configuration readmes for generators such as these I frequently see options such as --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 that? It looks like it defaulted to my server directory but I have no idea what it is for. Can someone please explain the purpose of dist
to me?
The dist folder contains the minified/uglified/concatenated/etc version of your code. Yeoman generators usually run grunt/gulp tasks to prepare your application for production use by running several tasks and outputting the results in the for dist folder.
Dist stands for distribution.
More info here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With