Skip to content

magicmonty/wintersmith-uglifyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wintersmith-uglify

Plugin for wintersmith which:

Install:

npm install wintersmith-uglify2 -g

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": [
    "file1.js",
    "file2.js",
    ...
  ]
}

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

About

Plugin for Wintersmith, which combines and compresses all configured js files into a single file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published