angular-cn/scripts
Pete Bacon Darwin fa79f51645 refactor(ivy): update the compiler to emit `$localize` tags (#31609)
This commit changes the Angular compiler (ivy-only) to generate `$localize`
tagged strings for component templates that use `i18n` attributes.

BREAKING CHANGE

Since `$localize` is a global function, it must be included in any applications
that use i18n. This is achieved by importing the `@angular/localize` package
into an appropriate bundle, where it will be executed before the renderer
needs to call `$localize`. For CLI based projects, this is best done in
the `polyfills.ts` file.

```ts
import '@angular/localize';
```

For non-CLI applications this could be added as a script to the index.html
file or another suitable script file.

PR Close #31609
2019-08-30 12:53:26 -07:00
..
browserstack ci: clean up CI logging, folding, add build time logging, and improve error handling (#14425) 2017-03-02 00:22:24 -08:00
ci refactor(ivy): update the compiler to emit `$localize` tags (#31609) 2019-08-30 12:53:26 -07:00
git build: mention where to find the invalid commit message, when validation fails (#32420) 2019-08-30 13:52:54 -04:00
github build: update base SHA for rebase on merge-pr script 2019-05-21 17:07:19 -07:00
jenkins fix(build): make perf tests work again 2015-02-27 15:22:19 -08:00
release build: add pre-release check that validates the version name (#29551) 2019-03-27 12:26:13 -07:00
saucelabs ci: move bazel saucelabs execution to script to be used across all Angular repos (#32141) 2019-08-16 09:57:23 -07:00
build-ivy-npm-packages.sh build: allow build-packages-dist.sh to be run from anywhere (#29092) 2019-03-20 14:45:54 -04:00
build-packages-dist.sh build: allow build-packages-dist.sh to be run from anywhere (#29092) 2019-03-20 14:45:54 -04:00
package-builder.sh build: unable to run build-packages-dist script on windows (#30853) 2019-06-05 09:05:28 -07:00