Create war for single page applications for Java EE 6 compliant servers.
npm install create-spa-warCreate war for single page applications for Java EE 6 compliant servers.
* Create war file without java and it's build systems
* Includes Java EE filter that always redirects to index.html if file does not exist. This allows routing without hash (#).
``shell`
yarn create spa-war outputs war size
`shell`
npx create-spa-war outputs war size
* Add package to your project
#### npm
``
npm install create-spa-war --save-dev
#### yarn
``
yarn add create-spa-war --dev
* Create script on package.json. Example:
```
scripts: {
"build": "webpack -p",
"postbuild": "create-spa-war ./dist ./my-project.war"
}