Skip to content

Commit cb109b7

Browse files
committed
1 parent 7bb4151 commit cb109b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ module.exports = function (ret, conf, settings, opt) { //打包后处理
386386
});
387387

388388
fis.util.map(ret.src, function (subpath, file) {
389-
if (file.isHtmlLike && file.useCompile && file.extras.useAutoload !== false) {
389+
if (file.isHtmlLike && file.useCompile && (!file.extras || file.extras.useAutoload !== false)) {
390390
injectAutoLoad(file, includeAsyncList);
391391
if (file.useCache) {
392392
ret.pkg[file.subpath] = file;

0 commit comments

Comments
 (0)