malta
Version:
Lightning builder allows to compose on the fly and update packed and full coded huge files, edit its parts as files, splitted and glued as You need.
32 lines (25 loc) • 834 B
JavaScript
var Malta = require('malta');
// console.log("Malta : ", Malta);
Malta.get().check([
'src/homepage.less',
'out',
'-require=malta-less...malta-css-uglify...malta-header-comment[name:\"mitlicense.txt\"]',
// '-require=malta-less',
'-options=showPath:false,watchInterval:500,verbose:0'
]).start(function (o, who) {
// console.log("=========\n\nWRITING\n\n");
// var s = this;
console.log('who : ' + who.name)
console.log('who : ' + this.name)
console.log('name : ' + o.name)
console.log('content : ' + o.content)
// console.log("content : \n" + o.content);
// 'plugin' in o && console.log("plugin : " + o.plugin);
// console.log('=========');
// console.log('context : ', this);
// console.log('arguments : ', arguments);
}).then(function () {
// console.log(this);
console.log('FINISHED')
process.exit();
});