-
-
Notifications
You must be signed in to change notification settings - Fork 188
Disallow webpack from using cssnext as a loader #61
Disallow webpack from using cssnext as a loader #61
Comments
Note sure we can handle in cssnext, since webpack probably try module as a simple function (cssnext is such a function, that take a string as first param). |
I am open to do something, but what?... I've no idea. |
@sokra agree? |
I can imaging no non-breaking webpack change which would fix this, but I schedule a breaking change for 2.0... You can add this to cssnexts package.json: "loader": "this is not a loader" |
Maybe more something like "webpack": {
"loader": "cssnext-loader" // then this warn user about using the appropriate loader
} |
Hurray for untyped languages. CC @stresslimit |
@MoOx This is supported, but it's only |
adding a "loader" key in a package.json with the name of the real loader to use warn the user ? That would solve the issue then... What did I miss ? |
@sokra do you confirm that adding |
Actually I think |
Nobody has got the same issue, so I am closing. |
Someone just get the same issue, I will make something to avoid this again. |
how about a |
Great job @MoOx thank's 👍 |
Basically this should never happen webpack/webpack#725 (comment)!
The text was updated successfully, but these errors were encountered: