Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(es/module): add opt-in symlink-preserving resolver (#11801) **Description:** This adds an opt-in `NodeImportResolver` constructor that preserves symlink paths when rewriting module specifiers. Today, `NodeImportResolver` always canonicalizes resolved real paths before converting them back into relative import specifiers. That behavior is still useful for the Bazel-related fixes around `jsc.paths`, so this PR keeps it as the default. However, it breaks callers that intentionally preserve symlink locations and need rewritten imports to stay relative to the symlink path instead of the canonicalized real path. This PR keeps the existing default constructor unchanged and adds a dedicated preserve-symlinks constructor for callers that need `resolve.symlinks: false`-style behavior. It also adds a regression test that creates a symlinked source file and asserts the opt-in boundary explicitly: the default resolver rewrites to the canonical target path, while the new constructor preserves the symlink path. **Related issue:** Closes #11584
main
15 minutes ago
Create good-lemons-study.md
kdy1/fix-11584-preserve-symlink-paths
1 hour ago
fix(es/module): add opt-in symlink-preserving resolver
kdy1/fix-11584-preserve-symlink-paths
1 hour ago
Create strong-kids-crash.md
kdy1:kdy1/flow-strip-react-native-corpus
1 hour ago
Create ninety-cougars-flash.md
kdy1:kdy1/support-full-es-version-parsing-in-minify
2 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/module): add opt-in symlink-preserving resolver#11801
1 hour ago
7a06408
kdy1/fix-11584-preserve-symlink-paths
CodSpeed Performance Gauge
0%
1 hour ago
0ba7d16
kdy1:kdy1/flow-strip-react-native-corpus
CodSpeed Performance Gauge
0%
2 hours ago
1e50fc9
kdy1:kdy1/support-full-es-version-parsing-in-minify
© 2026 CodSpeed Technology
Home Terms Privacy Docs