-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
Error with hot reloading and "-d": "SyntaxError: missing ) after argument list" #18
Comments
huh?... Looks like an webpack bug... :( |
Narrowed it down to using Happens both with vanilla webpack and dev-server. Definitely a |
Try to repoduce it, but with no success. It doesn't occur for me. Could you please create a repro repo? |
Here's the repo: https://github.com/alvaro-cuesta/webpack-bug
Then go to http://localhost:8080/webpack-dev-server/bug and check the browser console.
|
ah ok... you applied the |
Woopsies, I'm sorry, thought |
I am having the same issue, here is my webpack configuration:-
And in the index.js, I am importing it as:- index.scss file:- |
webpack-contrib/style-loader#18 (comment) We're enforcing that --hot is passed at the command line, which enables this plugin for you.
This is
style-loader@~0.8.0
. My*.styl
loader looks like this:{ test: /\.styl$/, loader: 'style!css!stylus' }
.The offending lines (specifically the one with
module.hot.accept
):The text was updated successfully, but these errors were encountered: