This website requires JavaScript.
Explore
Help
Sign In
iSharkFly-Docs
/
angular-docs-cn
Watch
1
Star
0
Fork
You've already forked angular-docs-cn
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
0bc52c10d5
angular-docs-cn
/
packages
/
examples
/
upgrade
/
tsconfig-build.json
8 lines
113 B
JSON
Raw
Normal View
History
Unescape
Escape
build: switch example e2e tests to bazel (#28402) * No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch. * No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally. NOTE: Unit tests found within the examples are still running within the legacy jobs. PR Close #28402
2019-01-28 15:59:25 -05:00
{
"compilerOptions"
:
{
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-12 08:28:20 -04:00
"importHelpers"
:
true
,
build: switch example e2e tests to bazel (#28402) * No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch. * No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally. NOTE: Unit tests found within the examples are still running within the legacy jobs. PR Close #28402
2019-01-28 15:59:25 -05:00
"lib"
:
[
"dom"
,
"es2015"
]
,
"types"
:
[
"angular"
]
}
}