Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Sep 5, 2024
1 parent c809d83 commit b55bd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/esbuild-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function esBuildResolver(extensions: string[]): EsBuildPlugin {
}

// vite resolver does not take part when optimizing deps
for (const extension of ['', ...extension]) {
for (const extension of ['', ...extensions]) {
let result = await build.resolve(path + extension, {
namespace,
resolveDir,
Expand Down

0 comments on commit b55bd41

Please sign in to comment.