Skip to content

v2.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@kyubisation kyubisation released this 13 Apr 20:57

New version due to a mishap with version 2.0.0-beta.1 and2.0.0-beta.2

The detection and insertion of environment variables has been separated.
Detection is now executed at build time by wrapping the ng build command (e.g. ngssc ng build).
This will generate an ngssc.json file, which can be used by the ngssc insert command.
See the README for more information.

Features

  • New command ngssc for detecting environment variable usage

Breaking Changes

  • The ngssc wrap-aot has been merged into the ngssc command as an optional flag --wrap-aot.
  • The ngssc insert command requires an ngssc.json file or embedded configuration in the html files.