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

Exclamation mark in SCSS comment breaks sass-loader #679

Closed
ignasbernotas opened this issue Apr 30, 2017 · 1 comment
Closed

Exclamation mark in SCSS comment breaks sass-loader #679

ignasbernotas opened this issue Apr 30, 2017 · 1 comment

Comments

@ignasbernotas
Copy link

Seems like the exclamation mark in the SCSS file comment doesn't play nice with webpack/sass-loader. I assume it's trying to find a rule matching the text after it, but fails.

Module build failed:
/*!
^
      Invalid CSS after "...load the styles": expected 1 selector or at-rule, was "var content = requi"
      in /Users/ignas/Code/apps/xxxx/node_modules/pikaday/scss/pikaday.scss (line 1, column 1)

I could submit a PR, removing it.

@wojciechczerniak
Copy link
Collaborator

This is a valid CSS comment. Looks like a sass-loader bug. Won't fix.

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

2 participants