Skip to content

Commit bdf8bdd

Browse files
committed
fix: fallback to next main field when resolve failed
1 parent bbd54b8 commit bdf8bdd

3 files changed

Lines changed: 1 addition & 139 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 137 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rspack_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rspack_loader_runner = { version = "0.1.0", path = "../rspack_loader_runner" }
3838
rspack_macros = { version = "0.1.0", path = "../rspack_macros" }
3939
rspack_paths = { version = "0.1.0", path = "../rspack_paths" }
4040
rspack_regex = { version = "0.1.0", path = "../rspack_regex" }
41-
rspack_resolver = { version = "0.3.0", features = ["package_json_raw_json_api", "yarn_pnp"] }
41+
rspack_resolver = { version = "0.3.0", features = ["package_json_raw_json_api"] }
4242
rspack_sources = { workspace = true }
4343
rspack_util = { version = "0.1.0", path = "../rspack_util" }
4444
rustc-hash = { workspace = true }

crates/rspack_core/src/resolver/resolver_impl.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ fn to_rspack_resolver_options(
283283
roots,
284284
builtin_modules: false,
285285
imports_fields,
286-
pnp_manifest: None,
287286
}
288287
}
289288

0 commit comments

Comments
 (0)