Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复模版生成错误
Browse files Browse the repository at this point in the history
  • Loading branch information
AEPKILL authored and yesmeck committed Sep 18, 2019
1 parent 926eee3 commit 89e7024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/remax-cli/src/build/plugins/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default function template(
const { pages } = entries;

const files = Object.keys(bundle);
await Promise.all([
await Promise.all(
files.map(async file => {
const chunk = bundle[file];
if (isRemaxEntry(chunk)) {
Expand All @@ -191,8 +191,8 @@ export default function template(
}
}
}
}),
]);
})
);

templateAssets.forEach(file => {
this.emitFile({
Expand Down

0 comments on commit 89e7024

Please sign in to comment.