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

Recommended configuration misleading #184

Closed
jAndreas opened this issue Mar 7, 2017 · 2 comments
Closed

Recommended configuration misleading #184

jAndreas opened this issue Mar 7, 2017 · 2 comments
Assignees

Comments

@jAndreas
Copy link

jAndreas commented Mar 7, 2017

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?

Wrong documentation or wrong code. The "useable" feature from the style-loader won't get called if you set it up with the recommended configuration. The style-loader doesn't understand the "options" object, so creating an option field with the property "useable: true" doesn't affect anything. You have to pass the loader string as "style-loader/useable" in order to make it work, which is contrary to https://webpack.js.org/loaders/style-loader/#recommended-configuration

@ekulabuhov
Copy link
Member

Agree. useable is not an option, it's a path. Could you submit a PR?

@michael-ciniawsky
Copy link
Member

fixed by #185

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

No branches or pull requests

3 participants