mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: no longer use deprecated api in sass_bundle rule (#16064)
Switches away from deprecated Bazel API that now needs to be enabled explcitly within Bazel 0.24.0 (`incompatible_disallow_old_style_args_add`)
This commit is contained in:
committed by
Jeremy Elbourn
parent
786560e82b
commit
054dcc0279
@@ -7,11 +7,11 @@ def _sass_bundle(ctx):
|
||||
|
||||
# The entry-point scss file for the bundle.
|
||||
args.add("--entry")
|
||||
args.add(ctx.attr.entry_point.files)
|
||||
args.add(ctx.file.entry_point)
|
||||
|
||||
# The list of files that can be included in the bundle.
|
||||
args.add("--srcs")
|
||||
args.add(ctx.files.srcs, join_with =",")
|
||||
args.add_joined(ctx.files.srcs, join_with = ",")
|
||||
|
||||
# The generated bundle's filename.
|
||||
args.add("--output")
|
||||
|
||||
Reference in New Issue
Block a user