Assets compressor/uglifier for wintersmith.


Plugin for wintersmith which:

npm install -g wintersmith-uglify2

then add wintersmith-uglify2 to plugins in your wintersmith config

All javascripts have to reside in a directory called js outside the contents folder. in the js folder should be a file called default.ugljs with the following JSON content:

  "uglify": [

on build the plugin compresses all listed files in order with uglify and creates a single file called default.js which can be included in the HTML