Skip to content

Commit

Permalink
Merge pull request #16 from 2betop/patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
hefangshi committed Sep 17, 2015
2 parents 7bb4151 + cb109b7 commit 90088ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ module.exports = function (ret, conf, settings, opt) { //打包后处理
});

fis.util.map(ret.src, function (subpath, file) {
if (file.isHtmlLike && file.useCompile && file.extras.useAutoload !== false) {
if (file.isHtmlLike && file.useCompile && (!file.extras || file.extras.useAutoload !== false)) {
injectAutoLoad(file, includeAsyncList);
if (file.useCache) {
ret.pkg[file.subpath] = file;
Expand Down

0 comments on commit 90088ce

Please sign in to comment.