"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.addDefaultPlugins = addDefaultPlugins;

function addDefaultPlugins(plugin, pluginName) {
  if (plugin.enable) {
    return [require.resolve(pluginName), plugin.options];
  }

  ;
  return null;
}