File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/material/schematics/migration-utilities Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ ts_library(
8
8
["**/*.ts" ],
9
9
exclude = ["**/*.spec.ts" ],
10
10
),
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" ,
11
15
deps = [
12
16
"@npm//typescript" ,
13
17
],
@@ -17,6 +21,10 @@ ts_library(
17
21
name = "unit_tests_lib" ,
18
22
testonly = True ,
19
23
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" ,
20
28
deps = [
21
29
":migration-utilities" ,
22
30
"@npm//@types/jasmine" ,
You can’t perform that action at this time.
0 commit comments