Registry / devops / jex-bundler

jex-bundler

JSON →
library1.1.6jsnpmunverified

jex-bundler is a lightweight JavaScript bundler for small to medium-sized projects, version 1.1.6. It aims to simplify the bundling process with minimal configuration. The release cadence is unknown. Differentiators include simplicity and ease of use, but it lacks advanced features like code splitting or plugin systems found in larger bundlers.

npm install jex-bundler
INSTALL
IMPORT
SIG · JEX-BUNDLER
J
jex-bundler
devopsjavascriptv1.1.6
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

default
import jex from 'jex-bundler'
const jex = require('jex-bundler')
ESM-only module; CommonJS require will fail.
bundle
import { bundle } from 'jex-bundler'
import bundle from 'jex-bundler'
Named export; default export does not exist.
JexConfig
import type { JexConfig } from 'jex-bundler'
TypeScript type export; only import type.

Builds a JavaScript bundle from entry to output directory using ESM format.

import { bundle } from 'jex-bundler'; import { join } from 'path'; const build = async () => { try { const result = await bundle({ entry: './src/index.js', output: join(process.cwd(), 'dist'), format: 'esm', }); console.log('Build complete:', result.fileName); } catch (error) { console.error('Build failed:', error); } }; build();
jex --version
Debug
Known issues
gotchaThe bundle function expects an absolute path for the output option. Relative paths cause unexpected behavior.
fix
Use path.resolve or join with process.cwd() to provide absolute path.
affects: >=1.0.0
gotchaInput files must have a .mjs or .js extension; .ts files are not supported without a separate TypeScript compiler step.
fix
Pre-compile TypeScript to JavaScript before bundling.
affects: >=1.0.0
gotchaThe bundle function returns a promise; failing to await it may lead to incomplete builds.
fix
Always await or .then() the promise returned by bundle().
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'jex-bundler'
Module not installed or misspelled name.
fix
Run 'npm install jex-bundler' in your project root.
TypeError: bundle is not a function
Importing incorrectly, e.g., default import instead of named import.
fix
Use 'import { bundle } from 'jex-bundler''.
Error: The output path must be absolute
Output option provided as a relative path.
fix
Provide an absolute path using path.resolve or path.join.
Upgrade
Version history
1.1.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jex-bundler — npm install jex-bundler · libregistry