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.

安装

npm i multi-loader --save

用法

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

维护人员


Juho Vepsäläinen

Joshua Wiens

Kees Kluskens

Sean Larkin