UNPKG

@twstyled/babel-preset

Version:

Babel plugin for twstyled -- the full-featured Tailwind CSS + CSS in JS Compiler

13 lines (12 loc) 450 B
import { NodePath, types } from '@babel/core'; import type { CorePluginOptions, CorePluginState } from './types'; export default function getVisitorsWriteTwCss(babel: { types: typeof types; }, options: CorePluginOptions): { visitor: { Program: { enter(nodePath: NodePath<types.Program>, state: CorePluginState): void; exit(nodePath: NodePath<types.Program>, state: CorePluginState): void; }; }; };