Skip to content

Commit 21198fe

Browse files
authored
build: ship schematics as es2020 similar to rest of the APF (#24575)
As part of v13, we manually added the prodmode/devmode target to schematic build targets and set it to `es2015`. This was done since we still supported NodeJS v12. This is no longer the case with v14 and we already removed the NodeJS v12 integration test, so we can also remove the target override.
1 parent c9b2231 commit 21198fe

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/cdk/schematics/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ ts_library(
2525
# Schematics can not yet run in ESM module. For now we continue to use CommonJS.
2626
# TODO(ESM): remove this once the Angular CLI supports ESM schematics.
2727
devmode_module = "commonjs",
28-
devmode_target = "es2015",
2928
prodmode_module = "commonjs",
30-
prodmode_target = "es2015",
3129
tsconfig = ":tsconfig.json",
3230
deps = [
3331
"//src/cdk/schematics/update-tool",

src/cdk/schematics/update-tool/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ ts_library(
88
# Schematics can not yet run in ESM module. For now we continue to use CommonJS.
99
# TODO(ESM): remove this once the Angular CLI supports ESM schematics.
1010
devmode_module = "commonjs",
11-
devmode_target = "es2015",
1211
prodmode_module = "commonjs",
13-
prodmode_target = "es2015",
1412
tsconfig = ":tsconfig.json",
1513
deps = [
1614
"@npm//@types/node",

src/material/schematics/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ ts_library(
2626
# Schematics do not need to run in browsers and can use `commonjs`
2727
# as format instead the default `umd` format.
2828
devmode_module = "commonjs",
29-
devmode_target = "es2015",
3029
prodmode_module = "commonjs",
31-
prodmode_target = "es2015",
3230
tsconfig = ":tsconfig.json",
3331
deps = [
3432
"//src/cdk/schematics",

0 commit comments

Comments
 (0)