@arve.knudsen/sheetify-jstransformer

jstransformer plugin for sheetify.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 12, 2018Nov 26, 2017Minified + gzip package size for @arve.knudsen/sheetify-jstransformer in KB

Readme

sheetify-jstransform

jstransformer plugin for sheetify.

Usage

Example usage in browserify:

b.transform('sheetify/transform', {
  use: [
    'sheetify-jstransformer',
    {
      use: require('jstransformer-autoprefixer')
    }
  ]
})

Multiple transformers to apply serially to the source:

b.transform('sheetify/transform', {
  use: [
    'sheetify-jstransformer',
    {
      use: [
        require('jstransformer-less'),
        require('jstransformer-autoprefixer')
      ]
    }
  ]
})

Options

  • use: The transformer, or array of transformers, to use. Required.

    An element of or the single value of use may be:

    • A transformer instance
    • An array [transformer, opts, optsCb] with:
      • transformer - The transformer instance
      • opts - Options to pass to the transformer.
      • optsCb(opts, filename) - A function that can transform options to possibly incorporate the filename; return the new options to pass to the transformer. Default: identity function

See also

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.