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
muslnode 18–226 runs
build_error
glibcnode 18–226 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.
Audit
Dependencies
No dependency data recorded yet.