Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update README.md (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Sep 26, 2020
1 parent 0da57f0 commit 6b50b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If you'd like to preserve comments (for licensing for example), then you can spe

```js
terser({
output: {
format: {
comments: function (node, comment) {
var text = comment.value;
var type = comment.type;
Expand All @@ -93,7 +93,7 @@ Alternatively, you can also choose to keep all comments (e.g. if a licensing hea

```js
terser({
output: {
format: {
comments: "all",
},
});
Expand Down

0 comments on commit 6b50b7f

Please sign in to comment.