Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 610 Bytes

createPrefixer.md

File metadata and controls

21 lines (16 loc) · 610 Bytes

createPrefixer

Creates a prefix function with a custom browser support range. It should be used together with the generateData API to generate the required data.

Arguments

Argument Type Description
data (Object) an object containing the a valid prefixMap and a plugins list

Returns

(Function): custom prefix function

Example

import { createPrefixer } from 'inline-style-prefixer'

const prefix = createPrefixer({
  prefixMap: __YOUR_PREFIX_MAP__,
  plugins: __YOUR_PLUGINS__
})