DavidWells / PostCSS-tutorial

Tutorial on adding PostCSS to `create-react-app` CLI
102 stars 14 forks source link

Why do you put mixins.js and variables.js into the src folder? #1

Closed steveCluster closed 7 years ago

steveCluster commented 7 years ago

Shouldn't they go into the config folder?

DavidWells commented 7 years ago

Yeah they can live anywhere. I just threw them in there for this demo

I keep them top level (in src) for our site: https://github.com/serverless/site/blob/master/src/_mixins.js + https://github.com/serverless/site/blob/master/src/_variables.js

steveCluster commented 7 years ago

Okay great thanks for the tip and for creating this tutorial.