@arted/use-loader

    0.0.101 • Public • Published

    use-loader

    use css module loader for webpack

    Installation

    npm

    $ npm install @arted/use-loader

    or yarn

    $ yarn add @arted/use-loader

    Usage

    // webpack.config.js
    module.exports = {
        ...
        module: {
            rules: [{
                test: /\.scss$/,
                use: [
                    "@arted/use-loader", // add use function which load css module
                    "style-loader", // creates style nodes from JS strings
                    "@arted/css-loader", // translates CSS into CommonJS
                    "@arted/sass-loader" // compiles Sass to CSS
                ]
            }]
        }
    };

    Keywords

    none

    Install

    npm i @arted/use-loader

    DownloadsWeekly Downloads

    0

    Version

    0.0.101

    License

    MIT

    Unpacked Size

    4.48 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar