Revert "build(bazel): allow ng_modules to elide .ngsummary.closure.js files (#22107)"
This reverts commit 263a2eca88
.
This commit is contained in:
parent
7e9b120452
commit
92d7060cb0
|
@ -57,8 +57,7 @@ def _expected_outs(ctx):
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
filter_summaries = ctx.attr.filter_summaries
|
closure_js = [f.replace(".js", ".closure.js") for f in devmode_js]
|
||||||
closure_js = [f.replace(".js", ".closure.js") for f in devmode_js if not filter_summaries or not f.endswith(".ngsummary.js")]
|
|
||||||
declarations = [f.replace(".js", ".d.ts") for f in devmode_js]
|
declarations = [f.replace(".js", ".d.ts") for f in devmode_js]
|
||||||
|
|
||||||
devmode_js_files += [ctx.new_file(ctx.bin_dir, basename + ext) for ext in devmode_js]
|
devmode_js_files += [ctx.new_file(ctx.bin_dir, basename + ext) for ext in devmode_js]
|
||||||
|
@ -283,8 +282,6 @@ NG_MODULE_ATTRIBUTES = {
|
||||||
allow_files = [".ts", ".html"],
|
allow_files = [".ts", ".html"],
|
||||||
mandatory = False),
|
mandatory = False),
|
||||||
|
|
||||||
"filter_summaries": attr.bool(default = True),
|
|
||||||
|
|
||||||
"type_check": attr.bool(default = True),
|
"type_check": attr.bool(default = True),
|
||||||
|
|
||||||
"no_i18n": attr.bool(default = False),
|
"no_i18n": attr.bool(default = False),
|
||||||
|
|
Loading…
Reference in New Issue