component-style-loader
v1.0.1
Published
load less
Downloads
1
Readme
npm install --save-dev component-style-loader
The less-loader
interprets @import
and url()
like requires
.
Use the loader either via your webpack config, CLI or inline.
Via webpack config (recommended)
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.less$/,
loader: 'component-style-loader!css-loader!less-loader'
}
]
}
}