angular-cn/packages/core/test/bundling
Andrew Kushnir acf6075ca9 fix(core): do not use unbound attributes as inputs to structural directives (#36441)
Prior to this commit unbound attributes were treated as possible inputs to structural directives. Since structural directives can only accepts inputs defined using microsyntax expression (e.g. `<div *dir="exp">`), such unbound attributes should not be considered as inputs. This commit aligns Ivy and View Engine behavior and avoids using unbound attributes as inputs to structural directives.

PR Close #36441
2020-04-21 13:30:25 -04:00
..
animation_world build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
core_all build: migrate determining if Ivy is enabled in typescript genrule files to use angular_ivy_enabled (#33983) 2019-11-26 16:38:40 -05:00
cyclic_import fix(core): do not use unbound attributes as inputs to structural directives (#36441) 2020-04-21 13:30:25 -04:00
hello_world build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
hello_world_i18n build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
hello_world_r2 build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
injection build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
todo fix(core): do not use unbound attributes as inputs to structural directives (#36441) 2020-04-21 13:30:25 -04:00
todo_i18n build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
todo_r2 build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
util build: migrate determining if Ivy is enabled in typescript genrule files to use angular_ivy_enabled (#33983) 2019-11-26 16:38:40 -05:00
README.md refactor(ivy): clean of #34804 from previous merge (#35022) 2020-01-29 16:35:08 -08:00

README.md

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files, to do so use these commands:

yarn bazel run --config=ivy //packages/core/test/bundling/cyclic_import:symbol_test.accept
yarn bazel run --config=ivy //packages/core/test/bundling/hello_world:symbol_test.accept
yarn bazel run --config=ivy //packages/core/test/bundling/injection:symbol_test.accept
yarn bazel run --config=ivy //packages/core/test/bundling/todo:symbol_test.accept