wintersmith-uglify2

0.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    2
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i wintersmith-uglify2

Weekly Downloads

4

Version

0.0.3

License

MIT

Last publish

Collaborators

  • magicmonty