0

Sencha Cmd 文档中,它指出当编译器处理 app.json 中的 JavaScript 文件时,您可以为编译器指定不同的选项。

“bundle”和“includeInBundle”选项有什么区别?

4

1 回答 1

1

From the forums:

Apologies for the delay in response - I recognize this is confusing, here's a quick explanation:

  • only one of your js resources should be marked bundle: true - it tells Sencha Cmd "this is the file to use as the bundle - concatenate anything else that is a part of the build into this file"

  • includeInBundle says "include this file in the bundle via concatenation / minification"

I hope that clarifies things! There's also some documentation here if you'd like to read more:

http://docs-origin.sencha.com/cmd/5.x/microloader.html#js

于 2014-11-06T05:44:18.180 回答