Files
angular__angular/packages/language-service/bundles/BUILD.bazel
Paul Gschwendtner df0e69b464 build: handle commonjs dependencies when bundling language service (#54429)
Fixes that the language service bundling would throw if a CommonJS dependency is used.

PR Close #54429
2024-02-27 15:24:24 -08:00

16 lines
454 B
Python

load("@npm//@bazel/rollup:index.bzl", "rollup_bundle")
rollup_bundle(
name = "language-service",
config_file = "rollup.config.js",
entry_point = "//packages/language-service/src:ts_plugin.ts",
format = "amd",
silent = True,
visibility = ["//packages/language-service:__pkg__"],
deps = [
"//packages/language-service/src",
"@npm//@rollup/plugin-commonjs",
"@npm//@rollup/plugin-node-resolve",
],
)