grunt-contrib-less | Compile LESS files to CSS | Plugin library
kandi X-RAY | grunt-contrib-less Summary
kandi X-RAY | grunt-contrib-less Summary
Compile LESS files to CSS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of grunt-contrib-less
grunt-contrib-less Key Features
grunt-contrib-less Examples and Code Snippets
grunt exec:xx --force
Running "exec:xx" (exec) task
Running "clean:xx" (clean) task
>> 7 paths cleaned.
Done.
Execution Time (2018-04-19 08:12:01 UTC)
loading tasks 98ms ▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%
loading grunt-contrib-clea
Community Discussions
Trending Discussions on grunt-contrib-less
QUESTION
I've set up the Grunt workflow as described here: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/css-topics/css_debug.html
My local-themes.js looks like this:
...ANSWER
Answered 2019-Jan-30 at 00:10Finally figured it out. The documentation has errors. You need to specify the parent themes style files, even if your child theme has it's own root source files, if you want to re-compile styles-m.css and styles-l.css, when the child themes less files change. This local-themes.js ended up working for me:
QUESTION
I use Vue/Typscript with webpack. And everytime i open page inject.preload.js
throws an error like GET blob:http://URL/1fbc0606-8477-416b-a45f-50b4d824f2bb 0 ()
and i don't know where it comes from or why something got inject.
I tested it on Google Chrome Incognito mode and Firefox there is no error thrown.
How can i find out why this error occurs?
package.json
...ANSWER
Answered 2018-Jul-17 at 18:50The error occurs because of AdBlock extension. To verify you can fully disable the extension in chrome://extensions/ url.
QUESTION
There are plenty of tutorials online for this, but after two days of struggle - I have to get some assistance. I am trying to to add a namespace to Bootstrap so I can use it in Salesforce without interfering with Salesforce's stylesheet. My goal is to wrap the bootstrap.less with .bs{} so I may refer to it on my page as a resource. It seems that no matter what, the bootstrap.css isn't compiling.
...ANSWER
Answered 2018-Jun-01 at 09:06Using the 'node js command line' instead of the regular command line did the trick for me.
Windoes: Start > Node.js command prompt
I followed the steps in this article and it finally worked.
QUESTION
I'm trying to upload a file to a server on change using grunt-run and curl. I can get it to work if I hard code the file name into the actual task, but I'm trying to run it based on the file that changed...here's my grunt file so far (stripped down to the parts related to this question).
...ANSWER
Answered 2018-Feb-24 at 14:09See this comment in the grunt-contrib-watch
github repo. Excerpts from it read:
"Don't use
grunt.event.on('watch')
to run your tasks."
and...
"The watch event is not intended for running tasks."
However, you can utilize the grunt.event.on('watch', ...)
listener to configure the exec
property.
The following gist shows how to meet your requirement:
Gruntfile.js
QUESTION
I've noticed that background: transparent
is changed into background: 0 0;
using less
. I'm using grunt-contrib-less
in 1.4.1
version that uses "less": "~2.7.1"
to transform less to css. What these 0 0
in background are responsible for? Are there any treats resulting from using background: 0 0
instead of background: transparent
? I tried to google this but i couldn't find anything that will explain me that
ANSWER
Answered 2017-Dec-19 at 12:42background: 0 0
sets the background position to background-position: 0 0
and not to transparent.
background-color
initial value is transparent.
background: none
sets the background-image: none
QUESTION
I have an application with SailsJs over NodeJs on Heroku and I can't run babeljs on. It runs ok on my localhost, but I always get the error:
Error: Couldn't find preset "env" relative to directory "/app"
The Heroku persists in look for itens at /app
folder. This project does not have one /app
folder
My app folders structure is:
...ANSWER
Answered 2017-Oct-26 at 20:40By default Heroku doesn't install the dependencies listed on "devDependencies"
in your package.json
.
You can either move your presets to "dependencies"
or follow the steps here to alter this behavior.
QUESTION
Here what I am trying to do is , I am trying to write grunt
in my command line and all it is does is , just watch the files. It does not start server. So what should I write to start server on localhost?
My grunt file is as shoen below:
Gruntfile.js
...ANSWER
Answered 2017-Sep-03 at 13:22You should use a specific grunt plugin, such as standard grunt-contrib-connect.
QUESTION
I have been trying to configure this gruntfile for days, I have seen and read multiple documents on how to set it up. I have been able to set it up so I can run individual tasks by typing in the individual commands into bash:
grunt uglify grunt sass grunt cssmin
However grunt watch seems to not watch any of my js files
All of which work fine, but when I tried to run them all under the "watch" task, my js files are all ignored. my command line just reads 'waiting...'. Changing any of the content in my js files does not trigger an update. I also had toruble running jshint as it kept telling me that it is looking for a string etc. so i disabled that plugin for now. Here is my file:
...ANSWER
Answered 2017-Aug-29 at 06:27I think you want to do this ?
QUESTION
Lets say I have this:
...ANSWER
Answered 2017-Jun-19 at 12:56You can use extend.
QUESTION
I'm trying to use the grunt-browser-sync to watch the changes in the jsp and tag files, but the same is not working. Does anybody know what`s happening? Grunt works with tag and jsp files?
...ANSWER
Answered 2017-May-30 at 11:27Your globbing pattern is wrong use:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grunt-contrib-less
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page