Skip to content

Commit

Permalink
update readme and test
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed May 17, 2018
1 parent 5925633 commit 8dce691
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/babel-minify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Refer [babel-preset-minify options](https://github.com/babel/minify/tree/master/
+ `minifyPreset`: Custom minify preset
+ `inputSourceMap`: Input Sourcemap
+ `sourceMaps`: [Boolean]
+ `comments`: [Function | RegExp | Boolean]

## CLI Options

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// FIXME: for some reason, the inner `if` statement gets indented 4 spaces.
function foo() {
if (a) {
if (b()) return false;
if (b()) return false;
} else if (c()) return true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// FIXME: for some reason, the inner `if` statement gets indented 4 spaces.
function foo() {
if (a) {
if (b()) return false;
Expand Down
1 change: 1 addition & 0 deletions packages/gulp-babel-minify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ Default: `{}`

+ `babel`: Use a custom `@babel/core`
+ `minifyPreset`: Use a custom `babel-preset-minify`
+ `comments`: [Function | RegExp | Boolean]

0 comments on commit 8dce691

Please sign in to comment.