1.0.13 • Published 3 years ago

@fiizy/postcss v1.0.13

Weekly downloads
12
License
GPL-3.0
Repository
-
Last release
3 years ago

fiizy postcss

Bundle of all postcss plugins used in Fiizy.

Included plugins

Installation

npm install @fiizy/postcss

Usage with Webpack (ver. > 2)

import fiizyPostCss from '@fiizy/postcss';

// style loader
{
    test: /\.css$/,
    loader: ExtractTextPlugin.extract({
        fallback: 'style-loader',
        use: [
            {
                loader: 'css-loader?minimize'
            },
            {
                loader: 'postcss-loader',
                options: {plugins: () => {
                    return [fiizyPostCss()];
                }}
            }
        ]
    })
}