This package has been deprecated

Author message:

please use postcss-cherrypicker instead with postcss-loader

cherrypicker-loader

0.1.0 • Public • Published

Cherrypicker Loader

Installation

Install the loader, and the core library, using npm or Yarn.

npm install cherrypicker-loader cherrypicker
 
yarn add cherrypicker-loader cherrypicker

Usage

After any pre-processors but before css-loader add the following rule:

{
  loader: "cherrypicker-loader",
  options: {
    markupFiles: ["*.html"]
  }
}

If you only have one set of markup files, you can use a single string instead of an array of them.

Your webpack config should then look something like this:

module.exports = {
    module: {
        rules: [
            {
                test: /\.scss$/,
                use: [
                    "style-loader",
                    "css-loader",
                    {
                        loader: "cherrypicker-loader",
                        options: {
                            markupFiles: ["*.html"]
                        }
                    },
                    "sass-loader"
                ]
            }
        ]
    }
};

Readme

Keywords

none

Package Sidebar

Install

npm i cherrypicker-loader

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • mrbbot