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

Is it possible to build project with static files? #29

Closed bibblebabl closed 3 years ago

bibblebabl commented 3 years ago

After build image imports to SC doesn't work. Seems it is something wrong with paths. Isn't it?

For example: import any svg file to style js file and try to use it, and after build project.

HarveyD commented 3 years ago

Please refer to https://github.com/HarveyD/react-component-library#supporting-image-imports