28 April 2018

Steps to create CSS and Map file from CSS Less File


Steps to create CSS and Map file from CSS Less File

Install latest Node JS - Node Js Installation, Go to command prompt and run npm install less, Now less installed successfully
Go to Command Prompt and move to less file folder that we are going to create

For e.g., I am going to change HelloWorld [Less File]

In Command prompt go to C:\Project\CSS







Run following Command in Command Prompt






lessc HelloWorld.less HelloWorld.css --source-map=HelloWorld.css.map –verbose

Now CSS and Map file is generated in the respective folder.