Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 339 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 339 Bytes

seajs-compress

compressing seajs module files by google closure compiler and ignore the keyword "require "

Sample Code:

var seacomp = require('seajs-compress');
var res =  seacomp.compress('sea_mod.js','sea_mod_min.js',function(flag,msg){ 
  console.log(flag);
  console.log(msg);
});