Goal: hot reload, compile .scss file and then include it in root.jsx inline.
I've been trying to use loaders and then var css = require('./base.css'); but I get errors. Module not found even if in the same directory. Anyone know how to go about doing this?
Goal: hot reload, compile
.scss
file and then include it in root.jsx inline.I've been trying to use loaders and then var css = require('./base.css'); but I get errors. Module not found even if in the same directory. Anyone know how to go about doing this?