{"id":18894,"library":"unibundle","title":"Unibundle","description":"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.","status":"maintenance","version":"0.2.1","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/estrattonbailey/unibundle","tags":["javascript"],"install":[{"cmd":"npm install unibundle","lang":"bash","label":"npm"},{"cmd":"yarn add unibundle","lang":"bash","label":"yarn"},{"cmd":"pnpm add unibundle","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Should be installed as a devDependency.","wrong":"npm i unibundle","symbol":"unibundle","correct":"npm i unibundle --save-dev"},{"note":"Config file uses CommonJS module.exports pattern.","wrong":"export default { ... }","symbol":"config (CommonJS)","correct":"module.exports = production => ({ ... })"},{"note":"Server entry must export .default and be required with .default.","wrong":"const app = require('./server')","symbol":"require('./server')","correct":"let app = require('./server.js').default"},{"note":"Required in client and server for HMR. Not related to a specific import.","wrong":"","symbol":"module.hot","correct":"if (module.hot) module.hot.accept()"}],"quickstart":{"code":"// unibundle.config.js\nmodule.exports = production => ({\n  buildDir: 'build',\n  publicDir: 'public',\n  lint: true,\n  client: {\n    entry: 'app/index.js',\n    output: { filename: 'index.js' }\n  },\n  server: {\n    entry: 'server/index.js',\n    output: { filename: 'server.js' }\n  }\n})\n\n// Package.json scripts:\n\"dev\": \"unibundle\"\n\"build\": \"unibundle build\"\n\"start\": \"node build/server.js\"","lang":"javascript","description":"Shows basic unibundle config and npm scripts for dev, build, and serving."},"warnings":[],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}