Registry / devops / unibundle

unibundle

JSON →
library0.2.1jsnpmunverified

Unibundle is a minimal-configuration universal application bundler for Node.js and browser applications, version 0.2.1 as of its last release. It provides a simple CLI with `unibundle` for development (HMR for server and client bundles, CSS) and `unibundle build` for production. Key differentiators include its lack of enforced directory structure, built-in linting via Standard JS, and PostCSS support. The project appears to be in early stages with low maintenance activity.

npm install unibundle
INSTALL
IMPORT
SIG · UNIBUNDLE
U
unibundle
devopsjavascriptv0.2.1
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.

unibundle
npm i unibundle --save-dev
npm i unibundle
Should be installed as a devDependency.
config (CommonJS)
module.exports = production => ({ ... })
export default { ... }
Config file uses CommonJS module.exports pattern.
require('./server')
let app = require('./server.js').default
const app = require('./server')
Server entry must export .default and be required with .default.
module.hot
if (module.hot) module.hot.accept()
Required in client and server for HMR. Not related to a specific import.

Shows basic unibundle config and npm scripts for dev, build, and serving.

// unibundle.config.js module.exports = production => ({ buildDir: 'build', publicDir: 'public', lint: true, client: { entry: 'app/index.js', output: { filename: 'index.js' } }, server: { entry: 'server/index.js', output: { filename: 'server.js' } } }) // Package.json scripts: "dev": "unibundle" "build": "unibundle build" "start": "node build/server.js"
unibundle --version
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
unibundle — npm install unibundle · libregistry