text: const base = require('./webpack.config.js');
  
  module.exports = Object.assign({}, base, {
      mode: 'production',
      externals: {
          react: {
              commonjs: 'react',
              commonjs2: 'react',
              amd: 'react',
              root: 'React',
          },
          'react-dom': {
              commonjs: 'react-dom',
              commonjs2: 'react-dom',
              amd: 'react-dom',
              root: 'ReactDOM',
          },
      }
  });