我有以下mash.chirp.config文件
<root>
<FileGroup Name="podPlayers.debug.js">
<File Path="core.js" Minify="false" />
<File Path="contentArea.js" Minify="false" />
<File Path="searchbar.js" Minify="false" />
</FileGroup>
<FileGroup Name="podPlayers.min.js">
<File Path="core.js" Minify="true" />
<File Path="contentArea.js" Minify="true" />
<File Path="searchbar.js" Minify="true" />
</FileGroup>
</root>当我保存这个Chirpy时,会生成两个文件,podPlayers.js和podPlayers.min.js。但是,它不会创建`podPlayers.debug.js。
知道为什么吗?这是Chirpy 2.0.0.4
发布于 2012-05-04 20:39:38
诚然,我也遇到了类似的问题;我删除了FileGroup元素中对几个文件的引用,但注意到即使在保存更改后,我的混搭文件仍然包含它们;就好像Chirpy没有意识到它已经被更改了一样。
我使用Google Closure Compiler作为JS的默认minifier。虽然这不是一个有保证的变通办法,但对我来说,解决这个问题的方法是关闭脱机压缩(我已经启用了它),重新保存文件,然后再次打开它。
可以在Visual Studio2010中找到执行此操作的选项: Tools、-> Options、->、Chirpy、->、Google Closure编译器。
为了澄清,我也使用了Chirpy v2.0.0.4。
https://stackoverflow.com/questions/10211930
复制相似问题