Skip to content
compressing seajs module files by google closure compiler and ignore the keyword "require "
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
package.json
seajs-compress.js

README.md

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);
});
Something went wrong with that request. Please try again.