stealjs / steal-css

StealJS plugin for CSS
https://www.npmjs.com/package/steal-css
MIT License
2 stars 1 forks source link

CSS is parsed as JSON if file starts with an attribute selector #32

Closed phillipskevin closed 7 years ago

phillipskevin commented 7 years ago

Reported on gitter. If a CSS file starts with an attribute selector (like [name="test"]), steal-css will try to parse it as JSON:

image

matthewp commented 7 years ago

Most likely a bug in Steal itself, the json extension would be my guess.

phillipskevin commented 7 years ago

Issue moved to stealjs/steal #1092 via ZenHub