Skip to content

Commit

Permalink
fix(config): don't resolve by module field (#10347)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Oct 5, 2022
1 parent 14b7af6 commit cc1c829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -974,7 +974,7 @@ async function bundleConfigFile(
isRequire: !isESM,
preferRelative: false,
tryIndex: true,
mainFields: DEFAULT_MAIN_FIELDS,
mainFields: [],
browserField: false,
conditions: [],
dedupe: [],
Expand Down

0 comments on commit cc1c829

Please sign in to comment.