Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style loader not replaced with fake-style-loader #37

Closed
davibe opened this issue Oct 25, 2016 · 1 comment
Closed

style loader not replaced with fake-style-loader #37

davibe opened this issue Oct 25, 2016 · 1 comment

Comments

@davibe
Copy link

davibe commented Oct 25, 2016

In a webpack configuration i can refer to a named loader as name-loader or just with its name. If i do the latter, universal webpack will fail replacing style with fake-style-loader while generating server conf.

i.e.

...
    loader: 'style!css'
...

This bug results in style loader to be included in the built output and node.js won't be able to run it as style-loader only works in the browser.

@catamphetamine
Copy link
Owner

I'm not getting any errors with the example project
https://github.com/halt-hammerzeit/webpack-react-redux-isomorphic-render-example
if I change style-loader to just style.

If you reproduce this bug on a fork of the example repo then I could have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants