The `SourceFile` and associated code is general and reusable in other projects (such as `@angular/localize`). Moving it to `ngtsc` makes it more easily shared. PR Close #37114
19 lines
465 B
Python
19 lines
465 B
Python
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "sourcemaps",
|
|
srcs = ["index.ts"] + glob([
|
|
"src/**/*.ts",
|
|
]),
|
|
deps = [
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
"//packages/compiler-cli/src/ngtsc/logging",
|
|
"@npm//@types/convert-source-map",
|
|
"@npm//@types/node",
|
|
"@npm//source-map",
|
|
"@npm//sourcemap-codec",
|
|
],
|
|
)
|