0.1.0 • Published 8 years ago

interlock-browserify-transforms v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

interlock-browserify-transforms

Apply Browserify transforms to your source modules.

Definitions

This plugin takes a single argument: an array of definitions. These definitions can take the following forms:

  • string: Assumed to be a transform in the form of a require-able module.
  • function: A valid browserify transform.
  • object: An object with some or all of the following options: - transform: (required) A valid browserify transform. - opts: (optional) Options to pass to the browserify transform. - filter: (optional) A regular expression, used to filter source files on which the transform will operate. - moduleType: (optional) The target Interlock module type (e.g. css). This setting can be used for interoperability with Interlock plugins that expect it.