constellate-babel

raw JSON →
0.0.7 verified Fri May 01 auth: no javascript abandoned

The Babel configuration and transpiler package for Constellate projects, a universal JavaScript application framework. As of version 0.0.7, this package provides a pre-configured Babel setup tailored for Constellate-based development. It is designed for Node.js >=7 and is part of the Constellate ecosystem, but has seen no active updates since initial release. The package enforces a specific Babel configuration that may not be compatible with other setups, and its limited release cadence suggests early-stage development. Key differentiator: tightly coupled with Constellate's build pipeline.

error Error: Cannot find module 'babel-core'
cause Missing peer dependency 'babel-core'
fix
npm install babel-core@6
error Error: .babelrc is not allowed with constellate-babel
cause constellate-babel enforces its own config and ignores project .babelrc
fix
Remove .babelrc or use createConfig to extend.
deprecated Package is unmaintained and part of Constellate framework which is no longer active.
fix Migrate to a standalone Babel configuration or modern build tool.
gotcha Requires babel-core as peer dependency which may conflict with Babel 7+.
fix Install babel-core@6 to match peer requirement or use alternative.
gotcha Configuration is rigid and may override custom Babel settings.
fix Review source or avoid mixing with other presets/plugins.
npm install constellate-babel
yarn add constellate-babel
pnpm add constellate-babel

Shows default import usage and transpile function with options.

import constellateBabel from 'constellate-babel';

// Example: transpile a file
const result = constellateBabel.transpile('const x = 1;', {
  filename: 'example.js',
  presets: [],
});
console.log(result.code);