Skip to content

Commit

Permalink
fix: modifyDynamicImports confilct (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaobos committed Apr 3, 2023
1 parent 9bcd2e7 commit bad3b6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/unplugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ export default createUnplugin<Options>((options) => {
return ctx.transform(code, id)
},
async buildStart() {
await Promise.all([
ctx.scanDirs(),
ctx.updateCacheImports(),
])
await ctx.scanDirs()
await ctx.updateCacheImports()
await ctx.writeConfigFiles()
},
async buildEnd() {
Expand Down

0 comments on commit bad3b6c

Please sign in to comment.