node.js - Unable to execute chunkfile function of blessc module of npm Node js -


brief: building node function chunk huge css

approach:

function splitfiles(source) {     chunkfile(source, { sourcemaps: true }).then(function(parsedcss) {         console.log("complete!");     }); } splitfiles(source); 

error:

referenceerror: chunkfile not defined

i rookie @ node js. appretiated.

note: have node , bless installed. able chunk files using dos notation. want use api approach.

update:

var bl = require('bless'); //also tried require('blessc') function splitfiles(source) {     bl.chunkfile(source, { sourcemaps: true }).then(function(parsedcss) {         console.log("complete!");     }); } splitfiles(source); 

error:

error: cannot find module 'blessc' 


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -