angular-cn/packages/bazel/test/ng_package
Greg Magolan 7bf3e70553 build: update to terser 4.4.0 (#33835)
Now that terser_minified supports args as of nodejs rules 0.40.0, ng_rollup_bundle can updated to the pass —comments /a^/ to args can turn off all comments and maintain the current ng_rollup_bundle behavior with the latest version fo terser. //packages/core/test/bundling/todo:bundle.min.js size test passes with this fix.

Tho not strictly necessary to update terser, this will be a rough edge when someone does try it as it is not obvious why the //packages/core/test/bundling/todo:bundle.min.js size test fails. Updating now should save time in the future by not hitting this issue.\

This change also affect ng_package output as the default comments that are preserved by terser are now Comments with @preserve, @license, @cc_on as well as comments starting with /*! and /**! are now preserved by default.. (https://github.com/terser/terser/blob/master/CHANGELOG.md). Example ng_package golden file also updated as there are not some /*! comments preserved that were in older versions of terser.

PR Close #33835
2019-11-15 10:37:45 -08:00
..
example fix(bazel): ng_package(data) should support non-text files (#32721) 2019-09-17 15:58:42 -07:00
example-with-ts-library feat(bazel): support ts_library targets as entry-points for ng_package (#32610) 2019-09-13 13:23:55 -07:00
BUILD.bazel feat(bazel): support ts_library targets as entry-points for ng_package (#32610) 2019-09-13 13:23:55 -07:00
common_package.spec.ts fix(common): add upgrade sub-package to ng_package rule for @angular/common (#30117) 2019-04-25 15:01:17 -07:00
core_package.spec.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
example-custom-entry-point-name.golden build(bazel): use ng_package entry_point_name for umd bundles (#23132) 2018-04-05 14:51:31 -07:00
example_package.golden build: update to terser 4.4.0 (#33835) 2019-11-15 10:37:45 -08:00
example_package.spec.ts fix(bazel): ng_package(data) should support non-text files (#32721) 2019-09-17 15:58:42 -07:00
example_with_ts_library_package.golden build: update to terser 4.4.0 (#33835) 2019-11-15 10:37:45 -08:00