mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
642d009501
* Switches all examples to use dev-infra's canonical ESM-compatible `http_server`. * Uses ESBuild for bundling ESM into a single file, compared to having to load hundreds of individual ESM files in the browser (potential source of flakiness & slowness). PR Close #48521
22 lines
469 B
Python
22 lines
469 B
Python
load("//packages/examples/upgrade:upgrade_example.bzl", "create_upgrade_example_targets")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
create_upgrade_example_targets(
|
|
name = "lite",
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
exclude = ["e2e_test/*"],
|
|
),
|
|
assets = ["styles.css"],
|
|
e2e_srcs = glob(["e2e_test/*.ts"]),
|
|
entry_point = ":module.ts",
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"**/*.ts",
|
|
]),
|
|
)
|