Skip to content

Commit bad3b6c

Browse files
authoredApr 3, 2023
fix: modifyDynamicImports confilct (#355)
1 parent 9bcd2e7 commit bad3b6c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎src/core/unplugin.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ export default createUnplugin<Options>((options) => {
1616
return ctx.transform(code, id)
1717
},
1818
async buildStart() {
19-
await Promise.all([
20-
ctx.scanDirs(),
21-
ctx.updateCacheImports(),
22-
])
19+
await ctx.scanDirs()
20+
await ctx.updateCacheImports()
2321
await ctx.writeConfigFiles()
2422
},
2523
async buildEnd() {

0 commit comments

Comments
 (0)