"use strict";

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

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

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

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

  return new _SourceMapPlugin.SourceMapPlugin();
}