text: const webpack = require('webpack');
  const base = require('../../node_modules/@vuesion/service/dist/webpack/config/base').default;
  
  module.exports = ({ config, mode }) => {
    config.resolve.extensions = [...config.resolve.extensions, ...base.resolve.extensions];
    config.resolve.modules = [...config.resolve.modules, ...base.resolve.modules];
    config.resolve.alias = { ...config.resolve.alias, ...base.resolve.alias };
    config.module.rules = base.module.rules;
  
    config.plugins.push(new webpack.DefinePlugin({ PRODUCTION: false, DEVELOPMENT: true, CLIENT: true, TEST: true }));
  
    return config;
  };
  