Wondering what‚Äôs next for npm?Check out our public roadmap! ¬Ľ

    multi-loader

    0.1.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    multi-loader

    This loader requires a module multiple times, each time loaded with a different loader. Like in a multi entry point the exports of the last item are exported.

    A normal user probably don't need this loader, but it's useful in combination with other loaders.

    Example:

    var multi = require("multi-loader");
    {
        module: {
            loaders: [
                {
                    test: /\.css$/,
                    // Add CSS to the DOM
                    // and
                    // Return the raw content
                    loaders: multi(
                        "style-loader!css-loader!autoprefixer-loader",
                        "raw-loader"
                    )
                }
            ]
        }
    }

    License

    MIT (http://www.opensource.org/licenses/mit-license.php)

    Install

    npm i multi-loader

    DownloadsWeekly Downloads

    9,421

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar