Style
/ API Reference / PluginsStyle
/ API Reference / Pluginsprefixer
This plugin adds vendor prefixes to style properties and values when required.
The Gist
import { prefixerPlugin } from '@weser/style'
const plugin = prefixerPlugin()
Fallbacks
This plugin also exports a list of fallbacks for values that can't otherwise be prefixed.
Add those to your createRenderer function to be safe.
import { prefixerFallbacks } from '@weser/style'
Returns
(Plugin) A plugin function that can be passed to the createRenderer function.
© 2024-present Robin Weser. All Rights Reserved.