fela-plugin-prefixer
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "fela-plugin-prefixer", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Fela plugin to add vendor prefixes", | ||
@@ -27,4 +27,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"fela": "3.0.1" | ||
"fela": "3.0.2" | ||
} | ||
} |
@@ -9,3 +9,3 @@ # fela-plugin-prefixer | ||
**Requires to use [fela-plugin-fallback-value](../fela-plugin-fallback-value/) afterwards** in order to resolve alternative prefix values which get returned as an array by default. | ||
**Requires to use [fela-plugin-fallback-value](../fela-plugin-fallback-value/) afterwards** in order to resolve alternative prefix values which get returned as an array by default. | ||
@@ -20,7 +20,19 @@ ## Installation | ||
<!-- Fela (Development): Unminified version including all warnings --> | ||
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.1/dist/fela-plugin-prefixer.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.2/dist/fela-plugin-prefixer.js"></script> | ||
<!-- Fela (Production): Minified version --> | ||
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.1/dist/fela-plugin-prefixer.min.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.2/dist/fela-plugin-prefixer.min.js"></script> | ||
``` | ||
## Usage | ||
Make sure to read the documentation on [how to use plugins](http://fela.js.org/docs/advanced/Plugins.html). | ||
```javascript | ||
import { createRenderer } from 'fela' | ||
import prefixer from 'fela-plugin-prefixer' | ||
const renderer = createRenderer({ | ||
plugins: [ prefixer() ] | ||
}) | ||
``` | ||
## Example | ||
@@ -38,3 +50,3 @@ | ||
{ | ||
display: ['webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'], | ||
display: [ 'webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex' ], | ||
WebkitAppearance: 'none', | ||
@@ -41,0 +53,0 @@ MozAppearance: 'none', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71750
59