-
Notifications
You must be signed in to change notification settings - Fork 77
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
Error trying to use sheetify-postcss and @rule #460
Comments
could you share your input script file as well? that'll make it a bit easier to reproduce the problem :) |
Sure, not much to it. Here you go:
Any "@" will cause the above error. Very possible I just don't have this configured correctly. |
ah; somehow the CSS ends up with the |
Thank you for researching. Is there a way to use this css without host? |
My bad, has nothing to do with the "@" rule. Breaks on all uses of "host". |
It looks like it's crashing because of the nesting. You need to add the postcss-nesting plugin to make that work. I wonder if we can make it crash less … confusingly, though! |
Just hit the same issue even with |
So here's my tiny app that appear to show the same result:
|
I think host just applies to the parent element, so for my keyframes example I got it working by removing the outer host. |
@emilbayes it logs twice because bankai already adds the |
@goto-bus-stop Ah! Using the |
Huh that may have been part of the problem in the OP too, but i didn't notice it then. Could be worth adding a warning about this because it is extremely non obvious |
So adding |
Right now bankai adds the
I'm not sure what this means 😅 |
Expected Behavior
Successful compile and css using the keyframes rule.
Current Behavior
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at Function.Buffer.from (buffer.js:179:11)
Possible Solution
Has someone successfully used css rules with sheetify-postcss?
Context
Trying to use css for animated ellipsis.
Code Sample
package.json
Your Environment
OSX, Latest versions of bankai, choo, sheetify, sheetify-postcss
The text was updated successfully, but these errors were encountered: