A utility that loads Babel configuration using the same method as babel-core, enabling you to resolve and parse .babelrc files programmatically. Version 1.0.0 is the latest stable release. It requires babel-core as a peer dependency. The package is deprecated in favor of using @babel/core's built-in config loading APIs.
npm install babel-load-configNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to load .babelrc configuration from a directory using babel-load-config.
Use @babel/core's loadPartialConfig or loadFullConfig APIs.
Pin babel-core version to a known compatible version.
Pass the babel-core internal build-config-chain module as second argument.
Use @babel/core and call loadPartialConfig directly instead of this package.
Use require('babel-load-config') instead of import.npm install babel-core