Nikolay Suslov 69cdc31168 add new libs | 3 years ago | |
---|---|---|
.. | ||
dist | 3 years ago | |
src | 3 years ago | |
README.md | 3 years ago | |
autoprefixer.d.ts | 3 years ago | |
package.json | 3 years ago |
A css autoprefixer for 🥜goober using style-vendorizer.
npm install --save goober
This packages exports a prefix
function that needs to be passed to goober's setup
function like this:
import React from 'react';
import { setup } from 'goober';
import { prefix } from 'goober/prefixer';
// Setup goober for react with autoprefixer
setup(React.createElement, prefix);