Skip to content

Commit

Permalink
fix: add configurations to analog-app
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Nov 26, 2022
1 parent de47c7e commit 23a4b6f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion apps/analog-app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
"options": {
"configFile": "apps/analog-app/vite.config.ts",
"outputPath": "dist/apps/analog-app/client"
},
"defaultConfiguration": "production",
"configurations": {
"development": {},
"production": {
"sourcemap": false
}
}
},
"build-ng": {
Expand Down Expand Up @@ -62,9 +69,20 @@
},
"serve": {
"executor": "@nrwl/vite:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "analog-app:build",
"port": 3000
},
"configurations": {
"development": {
"buildTarget": "analog-app:build:development",
"hmr": true
},
"production": {
"buildTarget": "analog-app:build:production",
"hmr": false
}
}
},
"serve-ng": {
Expand Down Expand Up @@ -96,7 +114,7 @@
},
"test": {
"executor": "@nrwl/vite:test",
"outputs": ["{options.outputPath}"],
"outputs": ["apps/analog-app/coverage"],
"options": {
"config": "vite.config.ts"
}
Expand Down

0 comments on commit 23a4b6f

Please sign in to comment.