Skip to content

Commit 5b618d8

Browse files
committed
fix(pack): avoid resolving browser field when build with server (#2713)
1 parent afae8a1 commit 5b618d8

2 files changed

Lines changed: 10790 additions & 11281 deletions

File tree

crates/pack-core/src/server/contexts.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ pub async fn get_server_resolve_options_context(
313313
custom_conditions,
314314
import_map: Some(server_import_map),
315315
fallback_import_map: Some(server_fallback_import_map),
316-
browser: true,
317316
module: true,
318317
before_resolve_plugins: vec![ResolvedVc::upcast(externals_plugin)],
319318
after_resolve_plugins: vec![ResolvedVc::upcast(externals_plugin)],

0 commit comments

Comments
 (0)