dotwar
v1.3.7
Published
WAR FILE CREATE AND EXTRACT CLI
Readme
DOT WAR
This package helps to create and extract war file.
npx dotwarFOR ANGULAR
Run npx dotwar , then chose Angular.
set <base href:"/app-name/"> in index.html to set base url. (optional).
FOR REACT CRA
run npx dotwar then chose React CRA
.WAR FILE IS READY IN Root\ DOTWAR \ war-name.war
set "homepage":"/app-name" in package.json to set base url. (optional).
FOR REACT VITE
run npx dotwar then chose React Vite
.WAR FILE IS READY IN Root\ DOTWAR \ war-name.war
set defineConfig({base:"./"}) in vite.config.js to set base url. (optional).
FOR OTHER
run below command.
npx dotwarSpecify file or folder location separeted by \ (ex: dist\your-file).
Then give war file name.
.WAR FILE IS READY IN Root\ DOTWAR \ war-name.war
The /is used to go to the drive location (D:\ or C:\).
The ../ or ..\ is used to go back.
FOR BACK TO ORIGINAL FILES
Ensure your war file is in Root\ DOTWAR folder.
run below command.
npx dotwar reverseif you have multiple war files in it plese Specify file name.
YOUR ORIGINAL FILE(S) IS READY IN Root\ DOTWAR-REVERSE \ Your-Files
Contact Maintainer
Bikram Sahoo -[[email protected]]
