A shared Babel configuration package used internally by Arco scripts (from the Arco Design team) for compiling modern JavaScript/TypeScript. Version 1.0.0 is the initial stable release. It provides a preset-based setup optimized for React/TypeScript projects, typically consumed via `@arco-design/arco-scripts`. Requires `@babel/core` and related Babel plugins as peer dependencies. Key differentiators: tightly coupled with the Arco ecosystem; no standalone usage intended; minimal configuration overhead for Arco-based projects.
npm install arco-scripts-babel-configVerified import paths — ran on the pinned version, not inferred.
Shows default import and usage with options for custom targets.
Use dynamic import() or ensure your project is set to ESM.
Use within an Arco Design project or fork the config.
Pin version and check release notes before upgrading.
Change to import or use dynamic import().
Ensure the config object is passed as module.exports in babel.config.js.