Babel preset for Cozy Cloud applications. Version 2.8.4 is the current stable release (last updated 2021, now in maintenance mode). It configures Babel with plugins and presets needed for Cozy apps, including environment-based presets (react, node) and specific plugins for Cozy's flags system and inline style imports. Differentiator: purpose-built for Cozy platform, with automatic configuration for their specific stack (e.g., cozy-flags, cozy-ui).
npm install babel-preset-cozy-appVerified import paths — ran on the pinned version, not inferred.
Shows typical usage in babel.config.js with React preset and polyfill options.
Upgrade to Babel 7 and Node >=10.
Check for replacement in cozy-libs monorepo.
Use { presets: [['cozy-app', { preset: 'react' }]] }Add @babel/runtime to dependencies (not devDependencies).
npm install babel-preset-cozy-app --save-dev
Use require() in babel.config.js, not import.
Add useBuiltIns: 'usage' and corejs:3 options, or add @babel/polyfill (deprecated).
No dependency data recorded yet.