webpack/test/watchCases/plugins/mini-css-extract-plugin/webpack.config.js

22 lines
322 B
JavaScript

var MCEP = require("mini-css-extract-plugin");
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /\.css$/,
use: [MCEP.loader, "css-loader"]
}
]
},
output: {
publicPath: ""
},
target: "web",
node: {
__dirname: false
},
plugins: [new MCEP()]
};