问题 My Webpack config contains the following loaders. module: { loaders: [ { test: /\.js$/, loader: "babel", exclude: /node_modules/ }, { test: /\.sass$/, loaders: ["style-loader", "css-loader", "sass-loader"], exclude: /node_modules/ } ] }, Then, I wished to pull out the CSS to a separate file and I tried using the extract text webpack plugin, alternating my config like this. var ExtractTextPlugin = require("extract-text-webpack-plugin"); module: { loaders: [ { test: /\.js$/, loader: "babel",