angular-cn/integration/bazel
Alan Agius bbd556ee9f test: enable importHelpers for UMD builds (#36989)
This is a workaround for a TS 3.9 regression https://github.com/microsoft/TypeScript/issues/38501 where the emitted `__exportStar` helpers have a missing semi-colon at the end of the unnamed function, when targetting UMD, and causes the following runtime error `Uncaught TypeError: (intermediate value)(…) is not a function`.

This is because the anonymous `__exportStar` function will be invoked with the function on the next like as the parameter which is subsequently invoking whatever was returned.

To get around this TS bug, add `importHelpers: true` in your tsconfig. This also, is recommanded to avoid multiple copies of the same helper being inlined, which might cause increase in bundle size.

PR Close #36989
2020-05-14 10:50:30 -07:00
..
src test: enable importHelpers for UMD builds (#36989) 2020-05-14 10:50:30 -07:00
test/e2e build: update to nodejs rules 0.37.1 (#32151) 2019-09-25 11:29:12 -07:00
.bazelignore build(bazel): update to nodejs rules 0.30.1 & bazel 0.26.0 (#30627) 2019-06-11 00:03:11 +00:00
.bazelrc build: remove remaining internal references to define=compile flag (#33983) 2019-11-26 16:38:40 -05:00
.bazelversion build: depend on bazelisk rather than directly on Bazel (#36078) 2020-03-16 10:58:06 -07:00
BUILD.bazel test: bazel integration test should use angular npm packages (#28762) 2019-02-19 12:53:19 -08:00
WORKSPACE build: update to rules_nodejs 1.6.0 (#36580) 2020-04-14 10:12:59 -07:00
package.json build: update dependencies to use typescript 3.8 and angular 9.1 (#36329) 2020-05-05 16:52:43 -07:00
protractor.conf.js feat(bazel): protractor_web_test_suite for release (#24787) 2018-07-12 16:34:45 -04:00
yarn.lock build: update dependencies to use typescript 3.8 and angular 9.1 (#36329) 2020-05-05 16:52:43 -07:00