CSS Modules Kit: A toolkit for making CSS Modules useful #264
mizdra
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used Volar.js to create the CSS Modules Kit. This is a set of tools including codegen, ts-plugin (TypeScript Language Service Plugin), and linter plugin.
Volar.js is used inside ts-plugin. It treats
.module.css
as VirtualCode and converts it to.d.ts
.This allows tsserver to treat
*.module.css
as part of the same project as*.ts
. As a result, various language features are provided in*.module.css
.So far, the tool works very well, and thanks to Volar.js, I can provide many language features. Thanks for developing Volar.js!
Beta Was this translation helpful? Give feedback.
All reactions