What is Grunt in Magento2? Why use grunt. I want to know detail about Grunt. When we can use Grunt.
What is Grunt in Magento2?
Why use grunt?
Useing of Grunt to automate any tasks you need, but out of the box Magento comes with pre-configured grunt tasks for compiling LESS files.
And also Grunt definition is determine why we use Grunt, you can see above details.
For more detail & documentation check below link
I hope it helps!
In one word: automation.
Grunt is a tool which uses for compile less
(.less) file into css
(.css) file which are include in
After successful configured grunt, whenever you change in
.less files in your theme, it'll automatically generates
.css files and you can see your changes at storefront.
Know more about grunt here: Gruntjs