1.7.5 • Published 8 years ago
war-brunch v1.7.5
war-brunch
Adds war/zip support to brunch.
The plugin will zip or create war after the compilation. You can also add a folder to include like /WEB-INF etc... Delete generation after build
Usage
Install the plugin via npm with :
$ npm install --save war-brunch
This plugin works only when optimized option is passed.
$ brunch build --production
Config
To specify war options, use config.plugins.war
object.
Change JS path or CSS path
config =
plugins:
war:
outputFile:'fileToDeploy.war'
pathInclude:'deploy'
cleanGenerated:true
- default
License
The MIT License (MIT)
Copyright (c) 2013 Julien Meerschart