在一些开源框架中,dist文件夹是什么意思(What does dist folder mean in some open source frameworks)

全称是distribution。

distribution英 [dstr'bju()n]美 ['dstr'bjn]: 发行版
n. 分布;分配

在某些框架中,因为开发和发布是的内容或者代码形式是不一样的(比如利用Grunt压缩等等),

这时候就需要一个存放最终发布版本的代码,这就是dist文件夹的用处。

是最终放到服务器上的发布版本。如果是放到开源去,一般放开发版,而不是发布版的,因为发布版通常是全部压缩优化过,不利于开源开发。

————————

The full name is distribution.

distribution英 [dstr'bju()n]美 ['dstr'bjn]: 发行版
n. 分布;分配

In some frameworks, the content or code form of development and release is different (such as grunt compression, etc.),

At this time, you need a code to store the final release version, which is the use of dist folder.

Is the final release to the server. If you put it into open source, you usually put the development version instead of the release version, because the release version is usually fully compressed and optimized, which is not conducive to open source development.