Comments (12)
"less": "^4.1.3",
"less-plugin-autoprefix": "^2.0.0",
"less-plugin-csscomb": "^0.0.2"
from webcompiler.
I don't see it mentioned in their changelog, but I would ask the developers of less.js
https://github.com/less/less.js
from webcompiler.
started a thread over there but no response yet. What version of less does this extension use?
from webcompiler.
@failwyn just commented in my less.js issue and noticed it is a warning that is thrown.
But this compiler extension is giving me
C:\Projects\LRM\LRM\assets\less\custom.less : WebCompiler error 0: --math=always is deprecated and will be removed in the future.
is it possible this extension treats warnings as errors? and is there a way to change this?
from webcompiler.
It's possible, I haven't been through all of the source, but I can dig around and take a look.
Edit: based on the code, it doesn't look like this is the case, but I will try to get time to setup a use case to step through it asap.
if (result.Errors.Any(e => !e.IsWarning)) return result;
from webcompiler.
Yeh noticed that line of code and started thinking it might be something else instead. Yeh if you get a chance let me know what the result is.
Cause I just found the error line it seems to be throwing https://github.com/madskristensen/WebCompiler/blob/c01fbbf785ea16a9b8784b1697e3095c3ffd0596/src/WebCompiler/MSBuild/CompilerBuildTask.cs#L59 so that makes me think that isWarning or logic around there is doing something maybe incorrectly.
from webcompiler.
That line logs Errors and Warnings, but doesn't throw anything, so it shouldn't affect the result.
from webcompiler.
Strange that the warning message in less is thrown as an error. Might wait to hear from the less team and go from there.
from webcompiler.
Is it a better option to maybe use something other than "always" and then fix up issues? But in saying that there might be hundreds of errors.
Is it possible for me to compile a certain version of this and install that specific version manually? Maybe then I can try have logic if the error contains "always" then allow it to skip.
from webcompiler.
I don’t really want to start introducing hacks to support deprecated parts of the LESS library; if the authors don’t want to support math=always, I’d say the best option would be to update the LESS files to be compliant or install an older version of WebCompiler and turn off automatic updates; there’s always going to be issues with backwards compatibility, but I feel like supporting the current language versions is more important.
from webcompiler.
Is there a way to install a specific version in visual studio? Or do I need to clone this repo and make necessary changes then build?
from webcompiler.
There's supposedly a way to browse Version History on Visual Studio Marketplace, but I can't find it; try this version.
// to download older versions, just change the version number in the url
from webcompiler.
Related Issues (20)
- The 'WebCompilerInitPackage" package did not load correctly. HOT 8
- Js Complier (1.14.9.2 ) not working in lastest Visual Studio(17.4.2)! HOT 21
- Version 14.9.2 changes "0 none" to "0 0" during minification HOT 9
- Files appear to have changes, although no visible changes are seen + Compile on save. HOT 10
- Relative Path for Imported SCSS not Compiling to Proper Path HOT 3
- cant work in linux HOT 3
- Problem with compiling HOT 18
- VS Gallery link pointing at old version HOT 2
- Context menus not displaying HOT 2
- Resulting CSS file only contains comments from @use dependencies HOT 1
- Feature: Group media queries HOT 1
- Issue compiling partial .scss files in folders HOT 1
- Extention is not correct working with @container instead @media
- Not working on Visual Studio Mac HOT 4
- Validation warning shown for valid css, how to turn this off ? HOT 1
- sass.cmd is not recognized as an internal or external command HOT 5
- Sourcemap in css has an absolute path HOT 1
- node-sass is now deprecated HOT 3
- Question: Looking for guidance using compiler/bundler with Razor Class Library (RCL) projects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcompiler.