3 ms·
> A cool idea here that an engineer on my team implemented recently is using a webpack loader to convert our SASS variables into javascript variables so they ca
by Raphmedia 9y ago
> A cool idea here that an engineer on my team implemented recently is using a webpack loader to convert our SASS variables into javascript variables so they can be shared with your styled components.
What I do is set my variables in a YAML file and inject those into both my JS and CSS files at build time.