{"library":"rax-babel-config","title":"rax-babel-config","description":"Base Babel configuration for the Rax framework (cross-platform React-like UI). Version 2.0.4 is the latest stable release. This package provides a factory function that returns a Babel config object, with options to enable JSX stylesheet transforms, JSX+ plugins, JSX-to-HTML transforms, Node target preset-env, and Regenerator runtime control. It is part of the rax-scripts monorepo. Key differentiator: designed specifically for Rax projects, encapsulating the needed presets and plugins for optimal Rax development.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install rax-babel-config"],"cli":null},"imports":["const getBabelConfig = require('rax-babel-config');","import getBabelConfig from 'rax-babel-config';","const { getBabelConfig } = require('rax-babel-config');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const getBabelConfig = require('rax-babel-config');\n\nconst babelConfig = getBabelConfig({\n  styleSheet: true,\n  jsxPlus: false,\n  jsxToHtml: false,\n  isNode: false,\n  disableRegenerator: false\n});\n\nconsole.log(JSON.stringify(babelConfig, null, 2));","lang":"javascript","description":"Shows how to install and use rax-babel-config to generate a Babel config for a Rax project.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}