-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
"math" option in compilerconfig defaults not working #3773
Comments
Also will just mention that according to these docs it should still be supported right? |
Was testing just by chance to unblock myself if any of the other options worked. They all showed other errors relating to the actual styling but no deprecated message. |
Little bit more investigation during some downtime and looks like its just a warning? less.js/packages/less/bin/lessc Line 582 in 7491578
so why does my build fail then? |
This isn't possible to evaluate without seeing an example repo. The failure would be unrelated to the warning, unless you're using a build system that treats warnings as failures. @iChenLei can you add a requirement to bug reports that a reproducible example is provided? |
@matthew-dean Ok, sir |
I am trying to compile some rather large files and was getting
SyntaxError: Error evaluating function 'floor': argument must be a number in \assets\css\less\searchbox.less LRM C:\Projects\LRM\LRM\assets\less\custom.less 232
so added the math option always to my
compilerconfig.json.defaults
file:but now I get:
--math=always is deprecated and will be removed in the future.
I started a thread over here since it might be a visual studio thing but they told me to come here.
failwyn/WebCompiler#68
Less version: I imagine would be the latest stable as I installed the most recent version of the extension in visual studio
Visual Studio 2022
Windows
The text was updated successfully, but these errors were encountered: