brunch-js-minify-js-files
Minify all JavaScript files inside the /public folder on --optimize (or -P)
Last updated 5 years ago by inflowmotion .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install brunch-js-minify-js-files 
SYNC missed versions from official npm registry.

brunch-js-minify-js-files

Minify all JavaScript files after brunch compile has been done. Build to help minify files that brunch doesn't minify them or are not in the regular JavaScript folders (For example: files that are in the assets folder that you don't concatenate).

Install Add the plugin to package.json:

dependencies": {
  ...
  "brunch-js-minify-js-files": "git://github.com/bogdanteodoru/brunch-js-minify-js-files.git"
}

Config Just add the folowing into your config.coffee/brunch-config.coffee file:

minifyJsFiles:
  active: true # if false it doesn't do anything ;)
  fileExtensions: [".js", ".json"] # optional: when not specified, ".js" is used.

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

2 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |