Skip to content

Commit

Permalink
fix: await rollup resolve result (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
csr632 authored May 26, 2020
1 parent d229a5b commit d71a06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/build/buildPluginResolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const createBuildResolvePlugin = (
}
// fallback to node-resolve because alias
if (id !== original) {
const resolved = this.resolve(id, importer, { skipSelf: true })
const resolved = await this.resolve(id, importer, { skipSelf: true })
return resolved || { id }
}
}
Expand Down

0 comments on commit d71a06d

Please sign in to comment.