mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
Fix bug when resolving basePath
Former-commit-id: 361e1eef7ff766c0cd395bdbc75dbf1ed5689ce2
This commit is contained in:
@@ -119,7 +119,8 @@ pub const Result = struct {
|
||||
return false;
|
||||
}
|
||||
|
||||
return r.is_from_node_modules;
|
||||
// If we rely just on isPackagePath, we mess up tsconfig.json baseUrl paths.
|
||||
return r.isLikelyNodeModule();
|
||||
}
|
||||
|
||||
pub const DebugMeta = struct {
|
||||
|
||||
Reference in New Issue
Block a user