Skip to content

Commit 5090f42

Browse files
committed
WIP: fix mdc migration schematics after rebasing
1 parent 868ec7e commit 5090f42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/material/schematics/migration-utilities/BUILD.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ts_library(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11+
# Schematics can not yet run in ESM module. For now we continue to use CommonJS.
12+
# TODO(ESM): remove this once the Angular CLI supports ESM schematics.
13+
devmode_module = "commonjs",
14+
prodmode_module = "commonjs",
1115
deps = [
1216
"@npm//typescript",
1317
],
@@ -17,6 +21,10 @@ ts_library(
1721
name = "unit_tests_lib",
1822
testonly = True,
1923
srcs = glob(["**/*.spec.ts"] + ["rules/components/test-setup-helper.ts"]),
24+
# Schematics can not yet run in ESM module. For now we continue to use CommonJS.
25+
# TODO(ESM): remove this once the Angular CLI supports ESM schematics.
26+
devmode_module = "commonjs",
27+
prodmode_module = "commonjs",
2028
deps = [
2129
":migration-utilities",
2230
"@npm//@types/jasmine",

0 commit comments

Comments
 (0)