mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
df0e69b464
Fixes that the language service bundling would throw if a CommonJS dependency is used. PR Close #54429
16 lines
454 B
Python
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",
|
|
],
|
|
)
|