Skip to content

Commit

Permalink
Merge pull request #1224 from LinusU/patch-1
Browse files Browse the repository at this point in the history
readme: document opts.transform
  • Loading branch information
James Halliday committed Jan 8, 2016
2 parents 836f10f + ef4fcee commit af2c0b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ resolved.
each file in the array. Use this for giant libs like jquery or threejs that
don't have any requires or node-style globals but take forever to parse.

`opts.transform` is an array of transform functions or modules names which will
transform the source code before the parsing.

`opts.extensions` is an array of optional extra extensions for the module lookup
machinery to use when the extension has not been specified.
By default browserify considers only `.js` and `.json` files in such cases.
Expand Down

0 comments on commit af2c0b6

Please sign in to comment.