Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
keleko34 committed Oct 24, 2019
1 parent 6568f36 commit e57cf41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ var base = process.cwd().replace(/\\/g,'/'),
closureCompiler = require('google-closure-compiler-js').compile,
flags = {};

console.log("Building Library...");
console.log("Building Pikantny Library...");

flags.jsCode = [{src: fs.readFileSync(base+'/pikantny.js','utf8')}];
flags.compilationLevel = 'SIMPLE';

fs.unlinkSync(base+'/pikantny.min.js');
fs.writeFileSync(base+'/pikantny.min.js',closureCompiler(flags).compiledCode);

console.log("Finished Building Minified Library..");

0 comments on commit e57cf41

Please sign in to comment.