react-native-css-modules
react-native-css-modules copied to clipboard
Generate/update typings on save
As the title says, would it be possible to update the typings of an scss file on save, in Visual Studio Code?
To achieve this, I think that you could use a VSCode plugin (e.g. https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave) and run typed-css-modules
for your project: https://www.npmjs.com/package/typed-css-modules#cli
Looks like the "run on save" might be also possible without a plugin in VSCode: https://code.visualstudio.com/docs/editor/tasks#_binding-keyboard-shortcuts-to-tasks
Nice! Are there equivalents for sass, as well as css? At least from the readme it only mentions CSS.
it should work for both scss and css at least.
I found https://www.npmjs.com/package/typed-scss-modules for SCSS 😃