Registry / devops / boi-transpiler

boi-transpiler

JSON →
library0.0.15jsnpmunverified

Transpile boi configuration files into webpack configuration and dependencies. Current version 0.0.15 (pre-release). No clear release cadence; appears to be a companion tool for the boi build system. Differentiator: acts as a bridge between boi's own config format and webpack, enabling webpack-based builds without direct webpack configuration.

npm install boi-transpiler
INSTALL
IMPORT
SIG · BOI-TRANSPILER
B
boi-transpiler
devopsjavascriptv0.0.15
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.

transpile
import { transpile } from 'boi-transpiler'
const transpile = require('boi-transpiler').transpile;
Package has ESM exports; use named import.
default
import boiTranspiler from 'boi-transpiler'
const boiTranspiler = require('boi-transpiler');
Default export is the transpile function itself.
BoiConfig
import { BoiConfig } from 'boi-transpiler'
import BoiConfig from 'boi-transpiler/BoiConfig';
Type only; use typed import with TypeScript.

Shows how to transpile a boi configuration object into a webpack configuration object.

import { transpile } from 'boi-transpiler'; const boiConfig = { entry: './src/index.js', output: { path: './dist', filename: 'bundle.js' }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader' } ] } }; const webpackConfig = transpile(boiConfig); console.log(webpackConfig);
boi --version
Debug
Known issues
deprecatedPackage is based on boi, which is unmaintained since 2018. Use direct webpack configuration instead.
fix
Migrate to plain webpack config.
affects: >=0.0.0
gotchaThe transpiled webpack config may be incomplete or incompatible with modern webpack versions (e.g., webpack 5).
fix
Manually verify the output and add missing properties.
affects: >=0.0.0
breakingNo breaking changes documented due to pre-release status; API may change at any time.
fix
Pin exact version and test thoroughly.
affects: <1.0.0
Errors
Common errors & fixes
Cannot find module 'boi-transpiler'
Package not installed or not in node_modules.
fix
Run `npm install boi-transpiler` or `yarn add boi-transpiler`.
TypeError: Cannot read property 'entry' of undefined
Passed an undefined or malformed boi config object.
fix
Ensure the config object has required properties like `entry`.
Module build failed: Error: Boi config must be an object
Non-object passed to `transpile()`.
fix
Pass a valid JavaScript object representing the boi configuration.
Upgrade
Version history
0.0.15latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
boi-transpiler — npm install boi-transpiler · libregistry