Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bazel): support for terser v5 and 2020 in rollup_bundle rule #215

Merged
merged 2 commits into from
Sep 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(bazel): support for terser v5 and 2020 in rollup_bundle rule
Supports for terser v5 in the `ng_rollup_bundle` rule. currently
terser fails because there is a conflicting `--beautify` CLI flag
set by `@bazel/terser` and the `output` option. Instead, the
new `format` name should be used:

```
ERROR: Please only specify either output or format option, preferrably
format.
```
devversion committed Sep 13, 2021
commit 1704486c9b6f2c0aa7ab85fd93d20b69e5b74953
4 changes: 2 additions & 2 deletions bazel/benchmark/ng_rollup_bundle/terser_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"output": {
"ecma": "es2015",
"format": {
"ecma": "es2020",
"comments": false,
"beautify": "bazel_debug"
},