Skip to content

Commit 01aa224

Browse files
committed
chore: fix build error
1 parent 5b4ef7e commit 01aa224

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vite/src/node/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ import {
4343
CLIENT_ENTRY,
4444
DEFAULT_ASSETS_RE,
4545
DEFAULT_CONFIG_FILES,
46+
DEFAULT_EXTENSIONS,
47+
DEFAULT_MAIN_FIELDS,
4648
ENV_ENTRY
4749
} from './constants'
4850
import type { InternalResolveOptions, ResolveOptions } from './plugins/resolve'
@@ -963,7 +965,6 @@ async function bundleConfigFile(
963965
preferRelative: false,
964966
tryIndex: true,
965967
mainFields: DEFAULT_MAIN_FIELDS,
966-
browserField: false,
967968
conditions: [],
968969
dedupe: [],
969970
extensions: DEFAULT_EXTENSIONS,

0 commit comments

Comments
 (0)