Registry / devops / borschik-tech-babili

borschik-tech-babili

JSON →
library1.0.0jsnpmunverified

Borschik JS tech that uses Babili (babel-minify) as the minifier for JavaScript files. Current stable version: 1.0.0, release cadence: inactive, last release in 2016. Integrates with the Borschik build system to provide ES6/ES2015+ minification via Babili. Differentiators: leverages Babili's ability to minify modern JavaScript without requiring transpilation to ES5 first; supports custom Babili options via --tech-options.

npm install borschik-tech-babili
INSTALL
IMPORT
SIG · BORSCHIK-TECH-BABI
B
borschik-tech-babili
devopsjavascriptv1.0.0
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.

plugin
/* No direct import; use via CLI: borschik -t babili */
import plugin from 'borschik-tech-babili'
This package is a tech plugin for borschik and is not meant to be imported directly.

Install and use borschik-tech-babili to minify a JavaScript file with Babili, with custom options.

npm install borschik borschik-tech-babili ./node_modules/.bin/borschik -t babili -i test.js -o output.js ./node_modules/.bin/borschik -t babili -i test.js --tech-options='{"babili":{"mangle":false}}' -o output.js
Debug
Known issues
deprecatedBabili is deprecated in favor of babel-minify and later Babel's own minification.
fix
Migrate to @babel/preset-minify or use a different minifier.
affects: >=1.0.0
gotchaThe package requires borschik >=1.0.5 as a peer dependency.
fix
Ensure borschik version 1.0.5 or later is installed.
affects: 1.0.0
gotchaBabili options must be nested under 'babili' key in --tech-options JSON.
fix
Use --tech-options='{"babili":{}}' not just --tech-options='{}'.
affects: 1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'borschik-tech-babili'
Missing peer dependency borschik or not installed.
fix
Run 'npm install borschik borschik-tech-babili' in your project.
Error: Unknown tech "babili" - available techs: css, js, etc.
borschik-tech-babili is not properly installed or linked.
fix
Ensure borschik and borschik-tech-babili are installed from same directory or globally.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies
borschikrequiredPeer dependency required for integration with the Borschik build system.
Agent activity
4 hits · last 30 days
node
4
Resources
borschik-tech-babili — npm install borschik-tech-babili · libregistry