Yeoman / Grunt / Angular中的dist build目标文件夹是什么?

时间:2015-07-31 17:00:49

标签: angularjs gruntjs yeoman

these等生成器的配置自述文件中,我经常看到--dist-path='dist' customize build target folder, relative to cwd, default is dist

等选项

另外,在我自己的grunt文件夹中,我看到:

  var appConfig = {
    app: require('./bower.json').appPath || 'app',
    dist: '../server/dist'
  };
那是什么?看起来它默认为我的服务器目录,但我不知道它是什么。有人可以向我解释dist的目的吗?

1 个答案:

答案 0 :(得分:5)

dist 文件夹包含代码的缩小/ uglified / concatenated / etc版本。 Yeoman生成器通常运行grunt / gulp任务,通过运行多个任务并在for dist 文件夹中输出结果来准备应用程序以供生产使用。

Dist代表 dist ribution。

更多信息here

相关问题