wishthis/node_modules/less/test/plugins/postprocess/index.js
2022-01-21 09:28:41 +01:00

14 lines
398 B
JavaScript

(function(exports) {
var postProcessor = function() {};
postProcessor.prototype = {
process: function (css) {
return 'hr {height:50px;}\n' + css;
}
};
exports.install = function(less, pluginManager) {
pluginManager.addPostProcessor( new postProcessor());
};
})(typeof exports === 'undefined' ? this['postProcessorPlugin'] = {} : exports);