brunch-js-minify-js-files

0.0.2 • Public • Published

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. 

Package Sidebar

Install

npm i brunch-js-minify-js-files

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • bogdanteodoru