wishthis/node_modules/less/test/plugins/postprocess/index.js

15 lines
398 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
(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);