A Babel preset that enables COMPAT mode for JavaScript transpilation, targeting older browsers and environments. Current stable version is 0.22.4. This package is part of the compat ecosystem, designed to simplify polyfilling and transpilation for maximum compatibility with legacy platforms. It differentiates itself by focusing specifically on 'compat' mode, reducing config overhead. However, it lacks documentation and has been in maintenance mode with no recent updates.
npm install babel-preset-compatVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of the preset with custom targets for legacy browsers.
Visit source code or use with caution; defaults may be unexpected.
Consider using @babel/preset-env with appropriate targets instead.
Pin exact version and test thoroughly.
Run 'npm install --save-dev babel-preset-compat'.
Refer to source code for valid options; typical options include 'targets'.
No dependency data recorded yet.