UNPKG

@beqa/babel-plugin-transform-react-slots

Version:

The JSX to slot function transpilation plugin for babel

13 lines (11 loc) 277 B
import { pluginTester } from "babel-plugin-tester"; import plugin from "../src/index"; import path from "path"; pluginTester({ plugin, fixtures: path.join(__dirname, "fixtures"), fixtureOutputExt: ".mjs", babelOptions: { parserOpts: { strictMode: true }, }, });