css-loader-nano

1.0.0 • Public • Published

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',
                ],
            },
        ],
    },
};

Package Sidebar

Install

npm i css-loader-nano

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.86 kB

Total Files

4

Last publish

Collaborators

  • joehehir