なつき
なつき
There is no support for `.erb` with `dartsass-rails`. If your sass has any `.erb` dependency, you need to use `dartsass-sprockets` or `sassc-rails + sassc-embedded`, instead of `dartsass-rails`.
#3360 might be related
> floats are always imprecise and the process of rounding itself can lose precision I understand and that's why I only used "behave differently" in the title. What's interesting to...
This can be worked around as: ``` irb(main):001:0> (0.8241000000000004 * 10**10).round.fdiv(10**10) => 0.8241 irb(main):002:0> (0.8241000000000002 * 10**10).round.fdiv(10**10) => 0.8241 ```
I checked and found JRuby indeed ported the round implementation from CRuby, which explains why they behave the same way: https://github.com/ruby/ruby/blob/v3_3_5/numeric.c#L2449-L2578 https://github.com/ruby/ruby/blob/v3_3_5/numeric.c#L109-L178 https://github.com/jruby/jruby/blob/9.4.8.0/core/src/main/java/org/jruby/RubyFloat.java#L1004-L1159
``` root@2dece5fdff4a:/tmp# dpkg -i dart_3.8.1-1_amd64.deb Selecting previously unselected package dart. (Reading database ... 6089 files and directories currently installed.) Preparing to unpack .../dart_3.8.1-1_amd64.deb ... Unpacking dart (3.8.1-1) ... Setting up...
Looks like no one really support `@import src()` at this moment. Firefox has a tracking issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1707923 Other browsers do not even have a tracking issue.
The new `src()` syntax will likely get parsed only as a pure css `@import` statement rather than a sass `@import` statement. Therefore, the deprecation of sass’ `@import` statement is not...
> That's not true It's is extremely unlikely to happen, but **academically** your actually agree to what I was saying, right? The issue is really about the semantics - unlike...
I tested locally with a standalone setup without vite, both new API and legacy API worked just fine. This seems to be issue only when compiling via vite as pointed...