text: 'use strict';
  
  const { resolve } = require('path');
  const webpack = require('webpack');
  
  exports.modifyWebpackConfig = ({config, stage}) => {
    config.plugin('ignore', () => new webpack.IgnorePlugin(/^(xor|props)$/));
  
    config.merge({
      resolve: {
        root: resolve(__dirname, './src'),
        extensions: ['', '.js', '.jsx', '.json'],
      },
    });
    return config;
  };
  