/babel-plugin-goober-css-prop-esm

Babel plugin that enables CSS prop for Goober and Vite

Primary LanguageJavaScript

Babel Plugin Goober CSS Prop ESM

Most of the code here is from babel-plugin-css-prop which has been customised for goober

npm (scoped) Twitter Follow

# Installation
npm install --save-dev babel-plugin-goober-css-prop-esm

Usage

In .babelrc (or any babel configuration type):

{
  "plugins": [
    "babel-plugin-transform-goober",
    "babel-plugin-goober-css-prop-esm"
  ]
}

This has been tested only for a specific use case for usage with twin.macro. Any contributions welcome.