Skip to content

Commit

Permalink
chore: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 6, 2022
1 parent 5b4ef7e commit 01aa224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ import {
CLIENT_ENTRY,
DEFAULT_ASSETS_RE,
DEFAULT_CONFIG_FILES,
DEFAULT_EXTENSIONS,
DEFAULT_MAIN_FIELDS,
ENV_ENTRY
} from './constants'
import type { InternalResolveOptions, ResolveOptions } from './plugins/resolve'
Expand Down Expand Up @@ -963,7 +965,6 @@ async function bundleConfigFile(
preferRelative: false,
tryIndex: true,
mainFields: DEFAULT_MAIN_FIELDS,
browserField: false,
conditions: [],
dedupe: [],
extensions: DEFAULT_EXTENSIONS,
Expand Down

0 comments on commit 01aa224

Please sign in to comment.