Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/tools/symbol-extractor/symbol_extractor_spec/BUILD.bazel

23 lines
416 B
Python
Raw Normal View History

build: fix symbol extractor not dealing with ES2015 classes (#38093) We recently reworked our `ng_rollup_bundle` rule to no longer output ESM5 and to optimize applications properly (previously applications were not optimized properly due to incorrect build optimizer setup). This change meant that a lot of symbols have been removed from the golden correctly. See: fd65958b887f6ea8dd5235e6de1d533e4c578602 Unfortunately though, a few symbols have been accidentally removed because they are now part of the bundle as ES2015 classes which the symbol extractor does not pick up. This commit fixes the symbol extractor to capture ES2015 classes. We also update the golden to reflect this change. PR Close #38093
2020-07-16 14:33:11 +02:00
load("//tools:defaults.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "es2015_class_output_lib",
srcs = ["es2015_class_output.ts"],
)
filegroup(
name = "es2015_class_output",
srcs = [":es2015_class_output_lib"],
output_group = "es6_sources",
)
filegroup(
name = "fixtures",
srcs = glob([
"**/*.js",
"**/*.json",
]),
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 117ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API