1.2.3 • Published 11 months ago

@workleap/postcss-plugin v1.2.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

@workleap/postcss-plugin

All of Workleap’s default PostCSS plugins wrapped up in a single, easy-to-use plugin.

License npm version

Installation

Install the following packages:

With pnpm

pnpm add -D @workleap/postcss-plugin postcss

With yarn

yarn add -D @workleap/postcss-plugin postcss

With npm

npm install -D @workleap/postcss-plugin postcss

Features

This plugin wraps around the following PostCSS transformations:

Usage

Configuration

Create a postcss.config.js file at the root of your project with the following content:

/** @type {import("postcss").Postcss} */
module.exports = {
    plugins: ["@workleap/postcss-plugin"]
};

Webpack integration

To integrate with Webpack, add the postcss-loader to the development and build configuration file:

{
    module: {
        rules: [
            {
                test: /\.css/i,
                use: [
                    "style-loader",
                    "css-loader",
                    "postcss-loader"
                ]
            }
        ]
    }
}

License

Copyright © 2023, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.

1.2.3

11 months ago

1.2.2

12 months ago

1.2.1

12 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago