packages/webpack-preset-accurapp/customBlocks.js
function extractCss() {
  return (context, { addLoader }) =>
    addLoader({
      test: /\.css$/,
      use: [
        {
          loader: MiniCssExtractPlugin.loader,
        },
      ],
      ...context.match,
    })
}
function extractCss() {
  return (context, { addLoader }) =>
    addLoader({
      test: /\.css$/,
      use: [
        {
          loader: MiniCssExtractPlugin.loader,
        },
      ],
      ...context.match,
    })
}
function extractCss ( ) { return ( context , { addLoader } ) => addLoader ( { test : / \.css$ / , use : [ { loader : MiniCssExtractPlugin . loader , } , ] , ... context . match , } ) }
Extracts the css and puts it in the <head>
Extracts the css and puts it in the <head >