You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my code, using the latest version of node-sass I'm trying to add a unit to a number like bellow, which is resulting in a string type. I expected it to be a number type.
As noted, LibSass 4.0 WIP branch will also results list here now (which is correct).
Can't close yet, since that is not yet merged and current master produces string.
yeah, but in any case, the "expected result" described in this issue is wrong. I have no idea what compiler is used by https://beautifytools.com/scss-compiler.php, but it is a broken one.
@Anthony-Gaudino for reference, https://www.sassmeister.com/ is a much better online tool to test a sass compiler online, as it uses the official implementation (even though not the latest one currently)
In my code, using the latest version of
node-sass
I'm trying to add a unit to a number like bellow, which is resulting in astring
type. I expected it to be anumber
type.Minimal example on libsass.ocbnet.ch
input.scss
Actual results
string
Expected result
number
On this website http://beautifytools.com/scss-compiler.php I get the expected
number
result using the following code:version info:
The text was updated successfully, but these errors were encountered: