HarveyD / react-component-library

A project skeleton to get your very own React Component Library up and running using Rollup, Typescript, SASS + Storybook
https://blog.harveydelaney.com/creating-your-own-react-component-library/
MIT License
790 stars 167 forks source link

[Bug] styled-component still generate scss file #34

Closed franckLdx closed 3 years ago

franckLdx commented 3 years ago

in branch Branch styled-component npm run generate YourComponentName generates a component using a scss file. I think that util/template/component.scss.js should be deleted (index.js and component.js should be updated accordingly).

HarveyD commented 3 years ago

I've tried to replicate this. No scss.js files were generated. Make sure you clean the build directory before building otherwise you can see some old artefacts that may have been generated on a different version of the branch.