Skip to content

Commit

Permalink
fix: type error by vitejs#3151 (vitejs#3292)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu authored and fi3ework committed May 22, 2021
1 parent 70c862d commit 56a7a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function resolvePlugin(baseOptions: InternalResolveOptions): Plugin {
bareImport,
importer,
options,
ssr,
targetWeb,
server
)) &&
res.id.startsWith(normalizedFsPath)
Expand Down

0 comments on commit 56a7a75

Please sign in to comment.