Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Aug 23, 2019
1 parent 7d9cb47 commit ec74c23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ in addition to `__dirname` and `__filename`.
`opts.parserOpts` can be used to configure the parser brfs uses,
[acorn](https://github.com/acornjs/acorn#main-parser).

`opts.readFileTransform` can be used to transform the filestream of
the given file. For example you can minify the content.

`opts.readFileSyncTransform` can be used to transform the filestream of
the given file. For example you can minify the content.

# events

## tr.on('file', function (file) {})
Expand Down

0 comments on commit ec74c23

Please sign in to comment.