text: const path = require('path');
  const { styles } = require( '@ckeditor/ckeditor5-dev-utils' );
  
  module.exports = {
    mode: 'development',
    entry: './src/index.js',
    module: {
      rules: [
        {
          // Or /ckeditor5-[^/]+\/theme\/icons\/[^/]+\.svg$/ if you want to limit this loader
          // to CKEditor 5 icons only.
          test: /\.svg$/,
  
          use: [ 'raw-loader' ]
        },
        {
          // Or /ckeditor5-[^/]+\/theme\/[^/]+\.css$/ if you want to limit this loader
          // to CKEditor 5 theme only.
          test: /\.css$/,
          use: [
            {
              loader: 'style-loader',
              options: {
                singleton: true
              }
            },
            {
              loader: 'postcss-loader',
              options: styles.getPostCssConfig( {
                themeImporter: {
                  themePath: require.resolve( '@ckeditor/ckeditor5-theme-lark' )
                },
                minify: true
              } )
            },
          ]
        }
      ]
    },
    resolve: {
      extensions: [ '.js' ]
    },
    output: {
      filename: 'bundle.js',
      path: path.resolve(__dirname, 'demo/dist')
    },
    devtool: 'source-map'
  };
  