Skip to content

jmeerschart/war-brunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
war.outputfile ROOT.WAR
war.pathInclude undefined
war.cleanGenerated false

License

The MIT License (MIT)

Copyright (c) 2013 Julien Meerschart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published