I developed a micro-front end UI app, the application is running on local by npm start
command, but now I want to deploy it, for that I need to publish it using build command, when I am trying to run npm build --prod
or just npm build
, its not throwing any error but I don't see any dist folder created in my app root folder.
Below is my package.json and app structure:
{
"name": "root-html-file",
"description": "The single-spa root config for coexisting-angular-microfrontends",
"main": "index.js",
"scripts": {
"start": "serve -s -l 4200",
},
"author": "Joel Denning",
"license": "MIT",
"devDependencies": {
"serve": "^11.1.0"
},
"dependencies": {}
}