Hullabaloo Config Manager
raw JSON → 1.1.1 verified Sat Apr 25 auth: no javascript maintenance
Version 1.1.1 – Utility to manage complex Babel configuration chains, avoiding duplicated work and enabling effective caching. Built specifically for testing Babel transpilation pipelines, it resolves Babel configs at a project level and caches results to speed up subsequent runs. Differentiates from direct Babel usage by handling multi-step config inheritance and caching internally. Release cadence is low; no updates since 2019. Requires Node >=4.
Common errors
error Error: Cannot find module 'babel-core' ↓
cause babel-core is a required peer dependency not installed.
fix
npm install babel-core@^6.0.0
error Cannot read property 'presets' of undefined ↓
cause build() resolved with no config due to missing or invalid Babel config file.
fix
Ensure babel.config.js exists and is a valid Babel config object.
Warnings
deprecated Package is no longer actively maintained; use with caution for new projects. ↓
fix Consider using @babel/core and @babel/config directly.
Install
npm install hullabaloo-config-manager yarn add hullabaloo-config-manager pnpm add hullabaloo-config-manager Imports
- Manager wrong
import Manager from 'hullabaloo-config-manager'correctimport { Manager } from 'hullabaloo-config-manager' - isConfig wrong
const { isConfig } = require('hullabaloo-config-manager')correctimport { isConfig } from 'hullabaloo-config-manager' - mergeConfigs wrong
import { mergeConfig } from 'hullabaloo-config-manager'correctimport { mergeConfigs } from 'hullabaloo-config-manager'
Quickstart
const { Manager } = require('hullabaloo-config-manager');
const manager = new Manager({ config: './babel.config.js' });
const result = manager.build().then(config => {
console.log(config.presets);
}).catch(err => console.error(err));