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

Sta*_*tec 6 angularjs gruntjs yeoman

这些生成器的配置自述文件中,我经常看到诸如的选项--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'
  };
Run Code Online (Sandbox Code Playgroud)

那是什么?看起来它默认为我的服务器目录,但我不知道它是什么.有人可以dist向我解释一下目的吗?

yve*_*era 5

DIST文件夹包含精缩/变丑/连锁/等你的代码的版本.Yeoman生成器通常运行grunt/gulp任务,通过运行多个任务并在for dist文件夹中输出结果来准备应用程序以供生产使用.

DIST代表DIST ribution.

更多信息在这里.