rollup-plugin-sass | - Roll | Style Language library
kandi X-RAY | rollup-plugin-sass Summary
kandi X-RAY | rollup-plugin-sass Summary
rollup-plugin-sass
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Insert a CSS .
rollup-plugin-sass Key Features
rollup-plugin-sass Examples and Code Snippets
Community Discussions
Trending Discussions on rollup-plugin-sass
QUESTION
I'm trying to create a react components library which is based on Typescript and SASS. The components library will be used in multiple other typescript projects, so type exports are needed as well. Ideally I want to mimic something like "Material-UI"/"React-Bootrap" libraries dist output solutions.
Example project structure:
...ANSWER
Answered 2020-Nov-21 at 20:30After a lot of playing around I managed to produce the wanted result with rollup. The only downside of the current configuration is that it does not support newly added files in the --watch mode. The magic setting is under the output.preserveModules
Config:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rollup-plugin-sass
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page