
- 0133技术站
- 联系QQ:18840023
  
- QQ交流群
 
- 微信公众号
 

这个加载程序需要一个模块多次,每次加载一个不同的加载程序。就像在多入口点中一样,最后一个项目的导出是导出的。
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"
        )
      }
    ]
  }
}
推荐手册