diff --git a/angular.json b/angular.json index 006c45b40..54618f28d 100644 --- a/angular.json +++ b/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" } diff --git a/package.json b/package.json index 7290e9d61..431f5607c 100644 --- a/package.json +++ b/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",