text: const { resolve } = require('path');
  const config = require('@redhat-cloud-services/frontend-components-config');
  const commonPlugins = require('./plugins');
  
  const { config: webpackConfig, plugins } = config({
    rootFolder: resolve(__dirname, '../'),
    debug: true,
    deployment: process.env.BETA ? 'beta/apps' : 'apps',
    useProxy: true,
    appUrl: process.env.BETA ? '/beta/internal/bonfire' : '/internal/bonfire',
    env: process.env.BETA ? 'ci-beta' : 'ci-stable',
    standalone: Boolean(process.env.STANDALONE),
    customProxy: [
      {
        context: ['/namespaces'],
        target: 'http://localhost:5000',
        secure: false,
        changeOrigin: true,
      },
    ],
  });
  plugins.push(...commonPlugins);
  
  module.exports = {
    ...webpackConfig,
    plugins,
  };
  