Skip to content
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

strictMath is deprecated #418

Closed
marioana opened this issue Apr 23, 2019 · 0 comments · Fixed by #427
Closed

strictMath is deprecated #418

marioana opened this issue Apr 23, 2019 · 0 comments · Fixed by #427

Comments

@marioana
Copy link

Installed product versions

  • Visual Studio Professional 2017 Version 15.9.9
  • This extension: 1.12.394

Description

I enabled the strictMath option in compilerconfig.json.defaults
"compilers": {
"less": {
"autoPrefix": "",
"cssComb": "none",
"ieCompat": true,
"strictMath": true,
"strictUnits": false,
"relativeUrls": true,
"rootPath": "",
"sourceMapRoot": "",
"sourceMapBasePath": "",
"sourceMap": false
},
and when building i got this error:
The --strict-math option has been deprecated. Use --math=strict.

Steps to recreate

I updated my project to bootstrap 4.3.1, I use this command:
@import (less) "bootstrap.css";
to import the bootstrap css in my custom css and when I built I got the mentioned error.
Most probably, to recreate the error, it's enough just enabling the option.

Current behavior

The error blocks VS or MSBuild from building.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant