UNPKG

webpack-config

Version:

Helps to load, extend and merge webpack configs

25 lines (21 loc) 428 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * @private * @type {String[]} */ const SYSTEM_FIELDS = ['filename']; /** * Removes system properties * @param {Config} config * @returns {Config} */ exports.default = config => { SYSTEM_FIELDS.forEach(function (name) { delete config[name]; }); return config; }; //# sourceMappingURL=ConfigCleanupTransform.js.map