angular-docs-cn/integration/bazel/src
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
..
hello-world fix(bazel): ng_module should not emit shim files under bazel and Ivy (#33765) 2019-11-22 16:52:08 -05:00
BUILD.bazel test: keep diff in integration/bazel minimal by not introducing additional_root_paths (#34736) 2020-01-15 14:58:07 -05:00
app-routing.module.ts test(bazel): Add router to bazel integration test (#29459) 2019-03-22 13:17:01 -07:00
app.component.ts test(bazel): Add router to bazel integration test (#29459) 2019-03-22 13:17:01 -07:00
app.module.ts test(bazel): Add router to bazel integration test (#29459) 2019-03-22 13:17:01 -07:00
index.html test: keep diff in integration/bazel minimal by not introducing additional_root_paths (#34736) 2020-01-15 14:58:07 -05:00
main.ts build: update integration/bazel to Ivy and new rollup_bundle (#33434) 2019-10-28 16:24:57 -07:00
rollup.config.js build: update integration/bazel to Ivy and new rollup_bundle (#33434) 2019-10-28 16:24:57 -07:00
rxjs_shims.js build(bazel): do not build rxjs from source under Bazel (#28720) 2019-02-19 16:28:14 -08:00
tsconfig.json test: enable importHelpers for UMD builds (#36989) 2020-05-14 10:50:30 -07:00