Currently I run two apps that sits on the same repo.
The first one runs on /
and the other one on port 3000
(different HTML files).
I want to make another app that will run on port 5000
(with it's own HTML file).
How can I do that?
This is my Webpack config:
entry: {
mainApp: "./MainApp.js",
appNumberTwo: "./AppNumberTwo.js"
},
devServer: {
port: 3000,
host: '0.0.0.0',
headers: {
"Access-Control-Allow-Origin": "*"
},
historyApiFallback: {
index: publicPath + 'app_number_2.html',
},
proxy: [{
target: "http://www.dev.mydomain.com"
}]
},