-
Notifications
You must be signed in to change notification settings - Fork 40
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
Known Outstanding Issues Megathread #19
Comments
@connorskees I am interested to help out on compressed output, are you working on that? If possible, maybe you can write out some mentor instructions? |
It looks like it's just missing compressed output to be a good replacement to sass-rs? Would you consider this library ready @connorskees ? |
@Keats I think it is close to being ready! There's basically the same underlying issue preventing a number of features that I would like to resolve before I am willing to call the library ready. I'd like to get this library over the finish line in the first quarter of 2021, assuming I have enough free weekends. I think, though, if given the explicit warning that the library is experimental and may not work for all features of the language, it may be fine to rely on There shouldn't be any more breaking API changes for quite some time. I think if you check back in 2-3 weeks, it should be in a good enough state to use experimentally. And then in another 2-3 months it should hopefully be in a good enough state to use seriously. |
Nice! I'll make it an opt-in feature of the next version of Zola. The listed features are pretty niche I think so it shouldn't cause issues for most users I think and I can finally drop compass soon-ish. |
cc @kdy1 who may be interested for swc-project/swc#950 |
@connorskees is this project still active? |
hey @Keats, yes this project has recently come back to life. I had to take a hiatus at the beginning of the year, but I am hoping to wrap this project up. I have made a number of improvements that should resolve many of the concerns I had earlier. This project should be fine to use in a production setting. I have verified that |
@connorskees I think compressed output is not as good as the original one yet. There are quite some optimizations that we could do. Also, I think we can do better maybe. So not sure if you want to mark that as checked. |
@pickfire We actually have a pretty good amount of compressed output-parity. I've just pushed up a commit adding support for compressed number and list values. I think the number of bytes we could further remove is quite small and will not affect most users. For reference, the features of |
Hey thanks for this awesome crate! I'm curious where the indented syntax is on your plan, time wise? In my projects I mostly use Bulma instead of Bootstrap and they only provide the indented SASS syntax instead of SCSS. Would love to jump off the |
Thank you, @connorskees. I finally gave it a try. Works like a charm, and now I could finally move away from using Had some initial issues because I was mixing SASS with plain CSS, which apparently sass-rs can work with. But wasn't a big deal and I could work around that pretty quickly. |
I'm trying to use Pico CSS v2.0.0-alpha1 with Zola, and I'm getting the error that Here's the error I get by unpacking
I tried removing the prefix, but that didn't go as expected:
What should I do? I'm not sure where the fault lies exactly—I'm a back-end dev ;) |
@ISSOtm I manually ran the latest version of |
This issue serves as a way to keep track of all known compilation issues
Large features
@use
and the module system (MVP)@forward
rewrite parsing, evaluation, and serialization #67Smaller features
These ideally come with minimal reproductions, though the reason why they're failing may be incorrect as they haven't been fully looked into
@import "hey1.css", "cookie.css", url("hey2.css"), "fudge.css";
@media (color) {a {color: red;}}
min(1, min(2))
min(1, env(--foo))
@media (#{"100px < width < 500px"}) {a {interpolation: in-parens}}
simple-selectors(">")
@supports
,@keyframes
)@-webkit-keyframes {}
color: red;
should errorNaN
(0 / 0)
Infinity
(this has been updated to return an error instead of crashing) rewrite parsing, evaluation, and serialization #67(1 / 0)
1 / 2
should be emitted as1/2
, but it currently gives0.5
--foo: //;
.9999999999999999999999999999999 == .99999999999999999999999999999998
@import
should be moved to the top of the file/
rewrite parsing, evaluation, and serialization #67rgba(1, 2, 3 / 4)
url(...)
rewrite parsing, evaluation, and serialization #67url((((()))))
(this should actually produce an error, but it just emitsurl()
@import
should include strings verbatim rewrite parsing, evaluation, and serialization #67@import "hux\ bux.css";
this should include the\
, but it does not because we use normal string parsing10-#{10}
should give10 -10
but it gives10-10
(1px / 1em)
!optional
in@extend
@mixin
without@content
rewrite parsing, evaluation, and serialization #67@extend
should not be possible between media query boundaries@media
query merging rewrite parsing, evaluation, and serialization #67inspect(...)
does not properly preserve parens in some cases@charset
should only accept a string@charset 1+1;
should errorcolor: qu#{o}te(red)
current returns"red"
, but should givequote(red)
@foo "bar";
(we do parse this correctly, but we emit it with two semicolons)U+A2??
keywords
rewrite parsing, evaluation, and serialization #67@supports
rewrite parsing, evaluation, and serialization #67deg
to builtin fns,math.cos(1grad)
rewrite parsing, evaluation, and serialization #67The text was updated successfully, but these errors were encountered: