mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
428f3c4706
Disables creation of the esbuild meta.json file, which is not utilized in the build process. This streamlines the output and avoids generating unused artifacts. PR Close #61636
43 lines
936 B
Python
43 lines
936 B
Python
load("@aspect_rules_ts//ts:defs.bzl", rules_js_tsconfig = "ts_config")
|
|
load("//tools:defaults.bzl", "esbuild_checked_in")
|
|
load("//tools:defaults2.bzl", "ts_project")
|
|
|
|
package(default_visibility = ["//.github/actions/deploy-docs-site:__subpackages__"])
|
|
|
|
exports_files([
|
|
"tsconfig.json",
|
|
])
|
|
|
|
esbuild_checked_in(
|
|
name = "main",
|
|
entry_point = ":lib/main.mts",
|
|
external = [
|
|
"undici",
|
|
],
|
|
metafile = False,
|
|
platform = "node",
|
|
target = "node20",
|
|
deps = [
|
|
":lib",
|
|
],
|
|
)
|
|
|
|
rules_js_tsconfig(
|
|
name = "tsconfig",
|
|
src = "tsconfig.json",
|
|
)
|
|
|
|
ts_project(
|
|
name = "lib",
|
|
srcs = glob(["lib/*.mts"]),
|
|
tsconfig = ":tsconfig",
|
|
deps = [
|
|
"//:node_modules/@actions/core",
|
|
"//:node_modules/@actions/github",
|
|
"//:node_modules/@angular/ng-dev",
|
|
"//:node_modules/@types/node",
|
|
"//:node_modules/@types/tmp",
|
|
"//:node_modules/tmp",
|
|
],
|
|
)
|