Skip to content

Commit

Permalink
fix: hook id
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 18, 2021
1 parent fdc685e commit 42090cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getWebpackPlugin<UserOptions = {}> (
apply (resolver: Resolver) {
const target = resolver.ensureHook('resolve')
resolver
.getHook('resolve')
.getHook('described-resolve')
.tapAsync('unplugin', async (request: any, resolveContext: any, callback: any) => {
const resolved = await rawPlugin.resolveId!(request.request)
if (resolved != null) {
Expand Down

0 comments on commit 42090cb

Please sign in to comment.