@@ -12,21 +12,20 @@ Configure an angular application at runtime on the server or in a docker contain
12
12
The Angular CLI provides build time configuration (via environment.ts).
13
13
In a Continuous Delivery environment this is sometimes not enough.
14
14
15
- ## How it works & Limitations
15
+ ## How it works
16
16
Environment variables are used for configuration.
17
17
This package provides an Angular CLI builder to search for usages at build time.
18
18
A [ native CLI] ( #on-host-server-or-in-dockerfile ) can be used to insert populated
19
19
environment variables into index.html file(s) into the head tag or by replacing ` <!--CONFIG--> `
20
20
(Missing environment variables will be represented by ` null ` ). This should be done
21
21
on the host serving the bundled angular files.
22
22
23
- ## Version 8 Rewrite
23
+ ## Version 8/9 Changes
24
24
Version 8.x of this package was a complete rewrite with Angular schematics and builders.
25
25
If you require support for older Angular versions,
26
26
[ Version 2.x] ( https://www.npmjs.com/package/angular-server-side-configuration/v/2.0.0 )
27
27
of this library can be used, as it is Angular version agnostic.
28
28
29
- ## Version 9 Change
30
29
Version 9 of angular-server-side-configuration deprecates aotSupport, since it is
31
30
no longer required for Angular 9 with Ivy. The update schematic removes the option
32
31
from your angular.json.
@@ -169,7 +168,7 @@ Usage: ngssc insert [options] [directory]
169
168
Dockerfile
170
169
``` Dockerfile
171
170
FROM nginx:alpine
172
- ADD https://github.com/kyubisation/angular-server-side-configuration/releases/download/v9.0.0-next.0 /ngssc_64bit /usr/sbin/ngssc
171
+ ADD https://github.com/kyubisation/angular-server-side-configuration/releases/download/v9.0.1 /ngssc_64bit /usr/sbin/ngssc
173
172
RUN chmod +x /usr/sbin/ngssc
174
173
COPY dist /usr/share/nginx/html
175
174
COPY start.sh start.sh
0 commit comments