Skip to content

Commit 45123e8

Browse files
authored
build: fix build error in mdc migration against snapshots (#25303)
The snapshots were failing, because the MDC migration tests were targeting es2016, but the CLI introduced some es2020 syntax.
1 parent d665625 commit 45123e8

File tree

1 file changed

+1
-0
lines changed
  • src/material/schematics/ng-generate/mdc-migration

1 file changed

+1
-0
lines changed

src/material/schematics/ng-generate/mdc-migration/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec_bundle(
7373
# `chokidar` and `fsevents`. These rely on native bindings and break with ESBuild.
7474
external = ["@angular-devkit/core/node"],
7575
platform = "node",
76+
target = "es2020",
7677
deps = [":unit_tests_lib"],
7778
)
7879

0 commit comments

Comments
 (0)