text: const rewireYarnWorkspaces = require('react-app-rewire-yarn-workspaces');
  const rewired = require('react-app-rewired')
  const rewireLess = require('react-app-rewire-less')
  const rewireEslint = require('react-app-rewire-eslint')
  const path = require('path')
  
  module.exports = function override(config, env) {
  
      const cssLoader = rewired.getLoader(
          config.module.rules,
          rule => rule.test && String(rule.test) === String(/\.css$/)
      )
      const sassLoader = {
          test: /\.scss$/,
          use: [...(cssLoader.loader || cssLoader.use), 'sass-loader']
      }
      const oneOf = config.module.rules.find(rule => rule.oneOf).oneOf
      oneOf.unshift(sassLoader)
  
      config = rewired.injectBabelPlugin('transform-decorators-legacy', config)
      config = rewireLess(config, env)
      config = rewireEslint(config, env)
      config.resolve.modules.push(path.resolve('./src'))
  
      config = rewireLess.withLoaderOptions({
          javascriptEnabled: true
      })(config, env);
  
      return rewireYarnWorkspaces(config, env);
  };
  