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

README is misleading: cannot compose from value #98

Closed
OliverJAsh opened this issue May 16, 2017 · 2 comments
Closed

README is misleading: cannot compose from value #98

OliverJAsh opened this issue May 16, 2017 · 2 comments

Comments

@OliverJAsh
Copy link

OliverJAsh commented May 16, 2017

The README suggests you can import a file and then use the identifier in a composes value, e,g,:

@value foo: "./foo.css";
.bar {
  composes: baz from foo;
}

However, this errors with:

referenced class name "from" in composes not found
@OliverJAsh
Copy link
Author

Turns out the issue was further upstream in css-loader, which depends on this module.

Issue: webpack-contrib/css-loader#533
PR to fix: webpack-contrib/css-loader#534

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

1 participant