Skip to content

Commit

Permalink
fix: import should be appended to boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Aug 28, 2022
1 parent f3ff3ab commit a892ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function updateModules(
path: boundary.url,
explicitImportRequired:
boundary.type === 'js'
? isExplicitImportRequired(boundary.url)
? isExplicitImportRequired(acceptedVia.url)
: undefined,
acceptedPath: acceptedVia.url
}))
Expand Down

0 comments on commit a892ea3

Please sign in to comment.