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

New CSS @apply rule causes crash #37

Open
nektro opened this issue Jun 27, 2016 · 1 comment
Open

New CSS @apply rule causes crash #37

nektro opened this issue Jun 27, 2016 · 1 comment

Comments

@nektro
Copy link

nektro commented Jun 27, 2016

The new CSS @apply rule decribed here causes a crash.

events.js:141
      throw er; // Unhandled 'error' event
      ^
 Error: C:\GitHubWeb\CssMaterial\src\components\button.css:17:5: missing '}'
    at error (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:62:15)
    at declarations (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:259:26)
    at rule (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:560:21)
    at rules (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:117:70)
    at stylesheet (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:81:21)
    at module.exports (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:564:20)
    at rework (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\index.js:27:21)
    at DestroyableTransform._transform (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\index.js:82:22)
    at DestroyableTransform.Transform._read (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12)

The referenced file can be found here.

Although not technically standard CSS, it has already shipped in Chrome and Opera.

@arbaev
Copy link

arbaev commented Aug 8, 2018

The same problem with @media and so on.

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