Reputation: 195
I am new to angular.I have just created an app using node-oracledb to connect to oracle db and fetch data. The app is working. Now i need to move the project to production, what i need to do to built the app for production.
Upvotes: 1
Views: 127
Reputation: 1026
Build production package using this command (AngularCli project),
ng build --aot --prod
--aot flag will increase the performance of the build.
This command will generate new folder by name of dist (distribution folder). Your dist folder is your final build.
If you want to deploy in Apache server then do the following steps.
Upvotes: 0
Reputation: 4208
If you are using Angular-cli, it's:
ng build --prod
You can read more in the angular-cli Wiki
Upvotes: 3