reindexio / reindex-starter-kit-react

A quickstart template for building an app with React, Relay and Reindex
https://www.reindex.io
MIT License
57 stars 23 forks source link

Fixes webpack css loading #12

Closed bdougie closed 4 years ago

bdougie commented 7 years ago

What is this?

I recently tried out the reindex tutorial in your docs and found all the CSS broken when running production and local builds. Turns out that CSS Module class name strings are getting in the way, but you are not using them. I created a separate CSS loader to work with node_modules/todo-app-css/index.css and left the other loader as is.

CSS now works 🍾

Let me know if you have any questions and thanks for putting this together. I am currently working on an integration with the GraphQL to work with Netlify out of the box, which is how I came across this.

before fix:

screenshot 2016-12-13 09 56 57

after fix:

screenshot 2016-12-13 09 55 46