postcss-import resolves @import calls in CSS files and transforms it. For now when I try to import open-color using @import 'open-color'; it resolves to JSON file, which results in error.
Adding style item in package.json will solve this problem, and would be benefitial for most of CSS users. I'll create a PR adressing this issue.
postcss-import resolves
@import
calls in CSS files and transforms it. For now when I try to import open-color using@import 'open-color';
it resolves to JSON file, which results in error.Adding
style
item inpackage.json
will solve this problem, and would be benefitial for most of CSS users. I'll create a PR adressing this issue.