We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b754992 commit 84b4c0fCopy full SHA for 84b4c0f
crates/mako/src/visitors/virtual_css_modules.rs
@@ -10,7 +10,9 @@ pub struct VirtualCSSModules {
10
}
11
12
fn is_css_modules_path(path: &str) -> bool {
13
- path.ends_with(".module.css") || path.ends_with(".module.less")
+ path.ends_with(".module.css")
14
+ || path.ends_with(".module.less")
15
+ || path.ends_with(".module.scss")
16
17
18
pub fn is_css_path(path: &str) -> bool {
examples/rsc/src/c.module.scss
@@ -0,0 +1,2 @@
1
+.c { color: blue; }
2
+
examples/rsc/src/index.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import Foo from './Foo';
3
import './a.less';
4
import './b.module.less';
5
+import './c.module.scss';
6
7
export default function App() {
8
return (
0 commit comments