Browse Source

Setup ng serve

pull/1139/head
Thomas 3 years ago
parent
commit
0deee1f9c7
  1. 6
      angular.json
  2. 2
      package.json

6
angular.json

@ -134,6 +134,9 @@
"namedChunks": true
},
"configurations": {
"development-en": {
"baseHref": "/en/"
},
"production": {
"fileReplacements": [
{
@ -172,6 +175,9 @@
"proxyConfig": "apps/client/proxy.conf.json"
},
"configurations": {
"development-en": {
"browserTarget": "client:build:development-en"
},
"production": {
"browserTarget": "client:build:production"
}

2
package.json

@ -41,7 +41,7 @@
"postinstall": "prisma generate && ngcc --properties es2020 browser module main",
"replace-placeholders-in-build": "node ./replace.build.js",
"start": "node dist/apps/api/main",
"start:client": "ng serve client --hmr -o",
"start:client": "ng serve client --configuration=development-en --hmr -o",
"start:prod": "node apps/api/main",
"start:server": "nx serve api --watch",
"start:storybook": "nx run ui:storybook",

Loading…
Cancel
Save