webpack-config
Version:
Helps to load, extend and merge webpack configs
25 lines (21 loc) • 428 B
JavaScript
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
;