Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 27, 2022 11:20 am GMT

using less-loader in webpack

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:

Original Link: https://dev.to/gilly7/using-less-loader-in-webpack-1oe

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To