在Sencha Cmd 文档中,它指出当编译器处理 app.json 中的 JavaScript 文件时,您可以为编译器指定不同的选项。
“bundle”和“includeInBundle”选项有什么区别?
在Sencha Cmd 文档中,它指出当编译器处理 app.json 中的 JavaScript 文件时,您可以为编译器指定不同的选项。
“bundle”和“includeInBundle”选项有什么区别?
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: