code: function overrideDevServer({ plugin, options }, cracoConfig, devServerConfig, context) {
      if (isFunction(plugin.overrideDevServerConfig)) {
          const resultingConfig = plugin.overrideDevServerConfig({
              cracoConfig: cracoConfig,
              devServerConfig: devServerConfig,
              pluginOptions: options,
              context: context
          });
  
          if (!resultingConfig) {
              throw new Error("craco: Plugin returned an undefined devServer config.");
          }
  
          return resultingConfig;
      }
  
      log("Overrided devServer config with plugin.");
  
      return devServerConfig;
  }
docs: **********  DevServer Config  ******************