My site is: nervous-archimedes-29186f
Hello, i am trying to create a preview template for Netlify CMS and im having trouble importing React components as the template. Any component that i import that has css styling on it throws this error when i run ‘gatsby build’
It works fine if i remove the styles from that component. Ex:
This does not work:
Preview:
Layout Component:
This does work:
Preview is the same as the last
Layout Component:
I have search google for the answer for about 6 hours today and i couldnt really find anything. This is my netlify cms config file and gatsbt-config.js