Can a react application be deployed as a WAR file... without node. If yes, how?
I got a solution to build the application: npm run build
and then add it to spring boot application and create war out of it.
Is there any other way out?
Can a react application be deployed as a WAR file... without node. If yes, how?
I got a solution to build the application: npm run build
and then add it to spring boot application and create war out of it.
Is there any other way out?
Use webpack-war-plugin
to build war file.
details are described in https://stackoverflow.com/a/62384747/11092008