Closed st0ffern closed 6 years ago
@stoffern The style-loader isn't designed to work on the server as it injects styles into the DOM, you should instead just use just the css-loader, e.g. https://github.com/60frames/react-boilerplate/blob/master/tasks/build/createConfig/rules/css.js#L16
@stoffern closing due to inactivity, feel free to continue the conversation if you're still having issues.
Great work @richardscarrott!
I dont know if people have made requests about this by now but i will try: I am working on extensive-react-server with preconfigured setup, fully editable. Here i am using
webpack-hot-server-middleware
as a feature in development mode.The problem is: Using custom plugins og loaders with webpack
Works fine when i use
babel-loader
Crashes when i addstyle-loader
returing a 404 Not FoundAny way around this?