text: import Self from '../../../src';
  
  module.exports = {
    entry: './index.js',
    module: {
      rules: [
        {
          test: /\.css$/,
          use: [
            {
              loader: Self.loader,
            },
            {
              loader: 'css-loader',
              options: {
                esModule: true,
                modules: {
                  namedExport: true,
                  localIdentName: 'foo__[name]__[local]',
                },
              },
            },
          ],
        },
      ],
    },
    plugins: [
      new Self({
        filename: '[name].css',
      }),
    ],
  };
  