vbs-bundler
raw JSON → 0.0.1 verified Fri May 01 auth: no javascript
vbs-bundler (v0.0.1) is a CLI tool for bundling multiple VBScript source files into a single output file. It allows ordering via filename prefixes (`^` for beginning, `$` for end) and automatically excludes test files (`.Spec.vbs`, `.Test.vbs`). The package is minimal and early-stage, with no active development history. It requires Node.js and is installed globally, offering basic bundling and watch mode.
Common errors
error 'vbsb' is not recognized as an internal or external command ↓
cause Package not installed globally or not in PATH.
fix
Run 'npm install -g vbscript-bundler' and ensure global npm bin directory is in PATH.
Warnings
gotcha Entry must be a directory, not a single file. Using a file path as --entry will fail silently or produce empty bundle. ↓
fix Provide a directory path containing the source .vbs files.
Install
npm install vbs-bundler yarn add vbs-bundler pnpm add vbs-bundler Quickstart
mkdir -p src dist
cd src
echo "' ^header.vbs - at beginning" > ^header.vbs
echo "MsgBox ""Bundled!""" >> main.vbs
echo "' $footer.vbs - at end" > $footer.vbs
cd ..
npm install -g vbscript-bundler
vbsb --entry ./src --output ./dist/bundle.vbs
cat ./dist/bundle.vbs