DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

using less-loader in webpack


I am creating a bundle.js file with webpack. I have decided I want to start using LESS as well and I have tried to add the less-loader as per the instructions:

I ran: npm-install less-loader --save-dev

Then I updated the webpack.config.js to include the rules:

module.exports = {

Top comments (0)