mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* Switches away from the ESM-incompatible & unmaintained `ts_devserver` to `http_server`. This is the canonical server maintained by dev-infra * Switches tests away from CommonJS specific logic. e.g. require.resolve * Adjusts tests to work with Protractor spec bundling (Protractor does not support ESM execution, but we want to take ESM-written specs) * Reworks playground and benchmarks to use `app_bundle` and `esbuild` instead of loading hundreds of files individually. This also makes tests more stable and more aligned with real applications. PR Close #48521 |
||
|---|---|---|
| .. | ||
| e2e_test | ||
| src | ||
| BUILD.bazel | ||
| favicon.ico | ||
| README.md | ||
| tsconfig-build.json | ||
| tsconfig-e2e.json | ||
How to serve the examples
All playground examples are built and served with Bazel. Below is an example that demonstrates how a specific example can be built and served with Bazel:
# e.g. src/zippy_component
yarn bazel run modules/playground/src/zippy_component:devserver
# e.g. src/upgrade
yarn bazel run modules/playground/src/upgrade:devserver