mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
13 lines
315 B
JavaScript
13 lines
315 B
JavaScript
var configuration = require('../configuration');
|
|
|
|
function restoreWithComponents(property) {
|
|
var descriptor = configuration[property.name];
|
|
|
|
if (descriptor && descriptor.shorthand) {
|
|
return descriptor.restore(property, configuration);
|
|
}
|
|
return property.value;
|
|
}
|
|
|
|
module.exports = restoreWithComponents;
|