DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

using less-loader in webpack

2

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:

https://github.com/webpack-contrib/less-loader

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

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

module.exports = {
    entry:

Top comments (0)