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/openshift/insights/vulnerability'
      : '/openshift/insights/vulnerability',
    env: process.env.BETA ? 'stage-beta' : 'stage-stable',
    sassPrefix: '.ocp-vulnerability, .ocpVulnerability',
  });
  plugins.push(...commonPlugins);
  
  module.exports = {
    ...webpackConfig,
    plugins,
  };
  