How to use mini-css-extract-plugin
Comprehensive mini-css-extract-plugin code examples:
How to use mini-css-extract-plugin.loader:
26 27 28 29 30 31 32 33 34 35
{ test:/\.(s*)css$/, include: path.resolve(__dirname, 'scripts'), use: [ { loader: isDev ? 'style-loader' : MiniCssExtractPlugin.loader }, 'css-loader', 'sass-loader' ]