|
|
|
|
|
by edvinbesic
4121 days ago
|
|
I know this project uses browserify but by switching to webpack you could achieve the same thing without inline styles by exporting a style bundle. Take a look at the sass-loader[1] package which will let you configure webpack so that you can simply do a require('./style.scss'); and have the style included into either the main or a separate bundle. [1] https://github.com/jtangelder/sass-loader |
|
[1] https://github.com/gaearon/react-hot-loader