File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
A plugin that automatically creates a type file when using the CSS module type-safely.
10
10
11
- ## Plans for future revisions
12
-
13
- - Improve performance when using the latest API of sass.
14
- - Avoid outputting unnecessary classes when using the latest API of sass.
15
-
16
11
## Demo
17
12
18
13
<img src =" https://user-images.githubusercontent.com/39351982/138745772-8b218863-fe28-4573-a86a-fc10a7ab1ac7.gif " width =" 600 " />
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const loadSassPreprocessor = (config: FinalConfig): any => {
118
118
if ( loadedSassPreprocessor ) {
119
119
return loadedSassPreprocessor
120
120
}
121
- const fallbackPaths = _require . resolve . paths ?.( 'sass' ) || [ ]
121
+ const fallbackPaths = _require . resolve . paths ?.( 'sass-embedded ' ) || [ ]
122
122
const resolved = _require . resolve ( 'sass' , {
123
123
paths : [ config . root , ...fallbackPaths ] ,
124
124
} )
You can’t perform that action at this time.
1 commit comments
github-actions[bot] commentedon Sep 15, 2024
Bundled size for the package is listed below:
dist: 46.88 KB