Registry / devops / bayrell-bundler-nodejs

bayrell-bundler-nodejs

JSON →
library0.10.11jsnpmunverified

Bayrell Bundler for Node.js (v0.10.11) is a module bundler designed for the Bayrell ecosystem, focusing on packaging JavaScript/TypeScript code into optimized bundles. It is part of the Bayrell project and primarily supports Node.js environments. The package has a low release cadence (last release Oct 2020) and limited documentation. Compared to mainstream bundlers like Webpack or Rollup, it is specialized for Bayrell-specific workflows and may not be suitable for general-purpose bundling.

npm install bayrell-bundler-nodejs
INSTALL
IMPORT
SIG · BAYRELL-BUNDLER-NO
B
bayrell-bundler-nodejs
devopsjavascriptv0.10.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import BayrellBundler from 'bayrell-bundler-nodejs'
const BayrellBundler = require('bayrell-bundler-nodejs')
ESM-only since v0.10.0; CJS require is unsupported.
BundleConfig
import { BundleConfig } from 'bayrell-bundler-nodejs'
const { BundleConfig } = require('bayrell-bundler-nodejs')
Named export; type import available with 'import type { BundleConfig } ...'.
bundler
import { bundler } from 'bayrell-bundler-nodejs'
import bundler from 'bayrell-bundler-nodejs'
Named export, not default. Common mistaking it as default export.

Demonstrates creating a bundle config and running the bundler with an entry point and output path.

import BayrellBundler, { BundleConfig } from 'bayrell-bundler-nodejs'; const config = new BundleConfig(); config.entry = './src/index.js'; config.output = './dist/bundle.js'; const bundler = new BayrellBundler(config); bundler.bundle().then(() => console.log('Bundled successfully!')).catch(err => console.error(err));
Debug
Known issues
breakingVersion 0.10.0 dropped CommonJS support; ESM-only imports required.
fix
Use ES module imports (import/export) instead of require().
affects: >=0.10.0
gotchaThe package has minimal documentation; configuration options are not fully documented.
fix
Refer to source code or Bayrell project documentation for configuration details.
affects: >=0.0.0
deprecatedBayrell Bundler is in maintenance mode; no new features planned.
fix
Consider migrating to an actively maintained bundler like Webpack or Rollup.
affects: >=0.10.11
gotchaBundleConfig class may not support all web/browser features; designed primarily for Node.js modules.
fix
Test bundle output for browser compatibility if targeting browsers.
affects: >=0.0.0
Errors
Common errors & fixes
TypeError: bayrell_bundler_nodejs_1.default is not a function
Improper import of default export using wrong syntax (e.g., require).
fix
Use 'import BayrellBundler from 'bayrell-bundler-nodejs''
Module not found: Error: Can't resolve 'bayrell-bundler-nodejs'
Package not installed or missing from dependencies.
fix
Run 'npm install bayrell-bundler-nodejs'
Upgrade
Version history
0.10.11latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
bayrell-bundler-nodejs — npm install bayrell-bundler-nodejs · libregistry