{"library":"babel-preset-taro","type":"library","category":null,"description":"Babel preset for Taro projects, enabling JSX compilation for React, Vue, Solid, and Prefresh frameworks. Current stable version is 4.2.0, released on 2025-04-01. Release cadence: irregular, with frequent patch releases. Key differentiator: supports cross-platform app development (WeChat, Alipay, Baidu, HarmonyOS, H5, RN) by automatically configuring Babel plugins based on the target framework. Requires Node >= 18. Part of the NervJS/Taro monorepo. Alternatives: manual Babel config with individual presets.","language":"javascript","status":"active","version":"4.2.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-preset-taro","imports":["module.exports = { presets: [['babel-preset-taro', { framework: 'react' }]] }","const { withTaro } = require('babel-preset-taro')","const { getPreset } = require('babel-preset-taro')"]},{"cmd":"yarn add babel-preset-taro","imports":[]},{"cmd":"pnpm add babel-preset-taro","imports":[]}],"homepage":"https://taro-docs.jd.com","github":"https://github.com/NervJS/taro","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-preset-taro","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-preset-taro/compatibility"}}