diff --git a/angular.json b/angular.json index 24a2e4b..8625125 100644 --- a/angular.json +++ b/angular.json @@ -48,7 +48,13 @@ "maximumError": "4kb" } ], - "outputHashing": "all" + "outputHashing": "all", + "fileReplacements": [ + { + "replace": "projects/environments/environment.ts", + "with": "projects/app-a/environments/environment.ts" + } + ] }, "development": { "buildOptimizer": false, @@ -145,7 +151,13 @@ "maximumError": "4kb" } ], - "outputHashing": "all" + "outputHashing": "all", + "fileReplacements": [ + { + "replace": "projects/environments/environment.ts", + "with": "projects/app-b/environments/environment.ts" + } + ] }, "development": { "buildOptimizer": false, diff --git a/projects/app-a/environments/environment.ts b/projects/app-a/environments/environment.ts new file mode 100644 index 0000000..f841620 --- /dev/null +++ b/projects/app-a/environments/environment.ts @@ -0,0 +1,3 @@ +export const environment = { + test:"EnvTestA" +}; diff --git a/projects/app-a/src/assets/start.png b/projects/app-a/src/assets/start.png new file mode 100644 index 0000000..a9938ee Binary files /dev/null and b/projects/app-a/src/assets/start.png differ diff --git a/projects/app-a/src/styles-b.scss b/projects/app-a/src/styles-b.scss index 27decbc..0df8cfa 100644 --- a/projects/app-a/src/styles-b.scss +++ b/projects/app-a/src/styles-b.scss @@ -1,8 +1,10 @@ /* You can add global styles to this file, and also import other style files */ body{ background-color: black; + font-family: 'Courier New', Courier, monospace; h1{ color: darkslateblue; - font-family: 'Courier New', Courier, monospace; + } + h3{color: gray;} } \ No newline at end of file diff --git a/projects/app-b/environments/environment.ts b/projects/app-b/environments/environment.ts new file mode 100644 index 0000000..297d4c6 --- /dev/null +++ b/projects/app-b/environments/environment.ts @@ -0,0 +1,3 @@ +export const environment = { + test:"EnvTestB" +}; diff --git a/projects/app-b/src/assets/start.png b/projects/app-b/src/assets/start.png new file mode 100644 index 0000000..159f48b Binary files /dev/null and b/projects/app-b/src/assets/start.png differ diff --git a/projects/app/app.component.html b/projects/app/app.component.html index 48f5bb6..0e6de4e 100644 --- a/projects/app/app.component.html +++ b/projects/app/app.component.html @@ -1 +1,3 @@ -
\ No newline at end of file
diff --git a/projects/app/app.component.ts b/projects/app/app.component.ts
index 167f4a8..adc94a8 100644
--- a/projects/app/app.component.ts
+++ b/projects/app/app.component.ts
@@ -1,4 +1,5 @@
import { Component } from '@angular/core';
+import { environment } from 'projects/environments/environment';
@Component({
selector: 'app-root',
@@ -7,4 +8,5 @@ import { Component } from '@angular/core';
})
export class AppComponent {
title = 'app-a';
+ env = environment.test
}
diff --git a/projects/environments/environment.ts b/projects/environments/environment.ts
new file mode 100644
index 0000000..82b8b31
--- /dev/null
+++ b/projects/environments/environment.ts
@@ -0,0 +1,3 @@
+export const environment = {
+ test:"EnvDevTest"
+};