0.0.2 • Published 9 years ago

brunch-js-minify-js-files v0.0.2

Weekly downloads
8
License
-
Repository
github
Last release
9 years ago

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.