benbria / browserify-transform-tools

Utilities for writing browserify transforms.
MIT License
65 stars 15 forks source link

feat(makeFunctionTransform): transform arbitrary functions #22

Closed cape-dev closed 8 years ago

cape-dev commented 8 years ago

makeFunctionTransform can be used to transform arbitrary functions by passing in options.functionNames. This attr can be either a string or an array of strings. If no function name is provided the transform falls back to an require transform. New function is documented and tested.

jwalton commented 8 years ago

Very slick. Thanks!

jwalton commented 8 years ago

Published as v1.6.0.