diff options
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/resolution.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/node/resolution.rs b/ext/node/resolution.rs index 6f7b8c921..4590311e8 100644 --- a/ext/node/resolution.rs +++ b/ext/node/resolution.rs @@ -518,6 +518,10 @@ impl NodeResolver { return Some(path); } } + // allow resolving .css files for types resolution + if lowercase_path.ends_with(".css") { + return Some(path); + } None } |