You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,9 @@ The [internal `logger`](https://github.com/mrmckeb/typescript-plugin-css-modules
160
160
161
161
> If you use Webpack, note that tilde (`~`) imports not supported by Less and Sass natively.
162
162
>
163
-
> For Less users, this package exports a customRenderer that enables tilde imports: [`less-plugin-aliases`](https://github.com/dancon/less-plugin-aliases).
163
+
> For Sass users: A custom importer has been implemented to resolve this as of v3.
164
+
>
165
+
> For Less users: This package exports a customRenderer that enables tilde imports: [`less-plugin-aliases`](https://github.com/dancon/less-plugin-aliases).
164
166
165
167
#### `customTemplate`
166
168
@@ -198,11 +200,11 @@ The `classes` object represents all the classnames extracted from the CSS Module
|`less`|`{}`| Set [renderer options for Less](http://lesscss.org/usage/#less-options).|
204
-
|`sass`|`{ enableWebpackTildeImports: true }`| Set [renderer options for Sass](https://sass-lang.com/documentation/js-api#options). The `enableWebpackTildeImports` property enables support for [Webpack's tilde-prefixed imports](https://webpack.js.org/loaders/css-loader/#import). |
205
-
|`stylus`|`{}`| Set [renderer options for Stylus](https://stylus.bootcss.com/docs/js.html).|
0 commit comments