0.0.4 • Published 9 years ago
babel-plugin-prefix-jsx-styles v0.0.4
babel-plugin-prefix-jsx-styles
Usage
Install both the babel plugin (as dev dependency), and the underlying auto prefixing library (as a dependency).
npm install --save-dev babel-plugin-prefix-jsx-styles
npm install --save prefix-inline-style
Add ["prefix-jsx-styles"]
to the "plugins"
property of your .babelrc
For example, your .babelrc
might look like:
{
"presets": ["react", "es2015"],
"plugins": ["transform-decorators-legacy", "prefix-jsx-styles"]
}