My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: Google Closure Compiler

  • Combining and Minifying JavaScript Files with Google Closure Compiler

    GOAL The goal is to combine and minify several JS files into one JS file in the right order. PROBLEM Let’s assume we have the following directory structure with three JS files. Directory Structure appdev.js appdev.blackcow.js appdev.whitesheep.js SOLUTION To pull this off, we will leverage Google Closure Compiler. There are multiple ways to use this […]