kyubisation / angular-server-side-configuration

Configure an angular application at runtime on the server
Apache License 2.0
42 stars 6 forks source link

fix: adapt to `@angular-devkit/build-angular:application` builder #88

Closed kyubisation closed 1 year ago

kyubisation commented 1 year ago

This PR adapts the ngsscbuild builder to the new @angular-devkit/build-angular:application builder. When using @angular-devkit/build-angular:application with a server configuration, the filePattern is extended to also include the index.server.html file. If using @angular-devkit/build-angular:application without a server configuration, the ngssc.json file is generated inside the {outputPath}/browser directory, next to the browser files.

Closes #87