"use strict";

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

var _SourceMapPlugin = require("../custom_plugins/SourceMapPlugin");

function configSourceMapPlugin(options) {
  const {
    enableSMap
  } = options;

  if (enableSMap === false) {
    return null;
  }

  return new _SourceMapPlugin.SourceMapPlugin();
}