Create war for single page applications for Java EE 6 compliant servers.
yarn add warify --dev
npm install warify --save-dev
const warify = require("warify");
warify(inputPath, outputPath, size => {
const warPath = path;
});
// example: const warPath = warify("./", "./my-war.war, (size) => {
// console.log(size + " bytes file");
// });
console.log(warPath);
warify <inputPath> <generated-war-name>
# outputs: war path
- Node.js
- Docker
yarn
yarn dockerbuild
yarn build # to use maven instead of docker