interlock-browserify-transforms

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i interlock-browserify-transforms

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • divmain