Skip to content

Commit

Permalink
fix(optimizer): depScan resolve with flatIdDeps (#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihalgonsalves committed Apr 19, 2021
1 parent d5a3733 commit cb441ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/esbuildDepPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function esbuildDepPlugin(
namespace: 'dep'
}
: {
path: require.resolve(flatId, {
path: require.resolve(qualified[flatId], {
paths: [resolveDir]
})
}
Expand Down

0 comments on commit cb441ef

Please sign in to comment.