message: fix: shorten webpack config in example
diff: @@ -47,32 +47,14 @@ module.exports = (env, args) => {
  },
  {
  test: /\.css$/,
  - use: prod
  - ? [
  - {
  - loader: MiniCssExtractPlugin.loader,
  - },
  - {
  - loader: "css-loader",
  - options: {
  - camelCase: true,
  - localIdentName: "[local]_[hash:base64:5]",
  - minimize: false,
  - modules: true,
  - sourceMaps: !prod,
  - },
  - },
  - ]
  - : [
  - "style-loader",
  + use: [
  + prod ? MiniCssExtractPlugin.loader : "style-loader",
  {
  loader: "css-loader",
  options: {
  - camelCase: true,
  - localIdentName: "[local]_[hash:base64:5]",
  + sourceMap: !prod,
  + // minimized by OptimizeCssAssetsPlugin
  minimize: false,
  - modules: true,
  - sourceMaps: !prod,
  },
  },
  ],
  