Skip to content

Commit

Permalink
exp: prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
imayushsaini committed Jul 15, 2023
1 parent 6c16709 commit fb48db6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,12 @@
"builder": "@nguniversal/builders:prerender",
"options": {
"routes": [
"/"
]
"/home",
"/gallery",
"/download",
"/pluginmanager"
],
"guessRoutes": false
},
"configurations": {
"production": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ng": "ng",
"clean": "rimraf ./dist",
"start": "ng serve",
"build": "ng build",
"build": "ng build && npm run prerender",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"dev:ssr": "ng run ballistica-web:serve-ssr",
Expand Down

0 comments on commit fb48db6

Please sign in to comment.