css-loader-nano
v1.0.0
Published
Minimize CSS output of css-loader using cssnano.
Downloads
3
Maintainers
Readme
css-loader-nano
Minimize CSS output of css-loader using cssnano.
Usage
Install css-loader-nano
:
npm install --save-dev css-loader css-loader-nano
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.less$/i,
use: [
'style-loader',
'css-loader-nano', // minimize 'css-loader' output
'css-loader',
'less-loader',
],
},
],
},
};