mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-03-04 23:24:04 +01:00
13 lines
406 B
JavaScript
13 lines
406 B
JavaScript
/**
|
|
* This plugin extracts CSS into separate files.
|
|
* It creates a CSS file per JS file which contains CSS.
|
|
* It supports On-Demand-Loading of CSS and SourceMaps.
|
|
*
|
|
* Docs: https://github.com/webpack-contrib/mini-css-extract-plugin
|
|
*/
|
|
|
|
import MiniCssExtractPlugin from "mini-css-extract-plugin"
|
|
const devMode = process.env.NODE_ENV !== "production"
|
|
|
|
export default () => new MiniCssExtractPlugin({})
|