fela-plugin-remove-undefined
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "fela-plugin-remove-undefined", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Fela plugin to remove invalid undefined values", | ||
@@ -21,4 +21,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"fela": "3.0.1" | ||
"fela": "3.0.2" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # fela-plugin-remove-undefined | ||
Removes any `undefined` value or string values containing `undefined`. | ||
It also checks array values. | ||
It also checks array values. This plugin has been used to ensure auto prefixing to work. It is not necessary anymore as Fela automatically strips all undefined values. | ||
@@ -19,7 +19,21 @@ ## Installation | ||
<!-- Fela (Development): Unminified version including all warnings --> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.1/dist/fela-plugin-remove-undefined.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.2/dist/fela-plugin-remove-undefined.js"></script> | ||
<!-- Fela (Production): Minified version --> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.1/dist/fela-plugin-remove-undefined.min.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.2/dist/fela-plugin-remove-undefined.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 removeUndefined from 'fela-plugin-remove-undefined' | ||
const renderer = createRenderer({ | ||
plugins: [ removeUndefined() ] | ||
}) | ||
``` | ||
## Example | ||
@@ -26,0 +40,0 @@ |
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
8118
64