text: module.exports = ({ webpackConfig }) => {
    webpackConfig.module.rules.push({
      test: (file) => {
        return file.endsWith('.css') && !file.endsWith('.global.css')
      },
      use: [
        'style-loader',
        {
          loader: 'css-loader',
          options: {
            modules: true,
            localIdentName: '[name]_[local]_[hash:base64:3]'
          }
        },
        'postcss-loader'
      ]
    })
    webpackConfig.module.rules.push({
      test: /\.global\.css$/,
      use: [
        'style-loader',
        {
          loader: 'css-loader',
          options: {
            modules: false
          }
        },
        'postcss-loader'
      ]
    })
    return {
      webpackConfig
    }
  }
  