Registry / web-framework / hipacker

hipacker

JSON →
library0.0.16jsnpmunverified

Hipacker is a zero-configuration web application bundler for React and Vue projects, version 0.0.16. It provides a simple CLI to start a development server or build for production with minimal setup. Hipacker requires Node.js >=8.0.0 and expects React or Vue dependencies to be installed separately. It differentiates itself by offering a single command interface for both frameworks, with optional 'vue' flag for Vue projects. However, the package is in early alpha stage (v0.0.x) with limited features, no CSS extraction, chunk splitting, or eject support.

npm install hipacker
INSTALL
IMPORT
SIG · HIPACKER
H
hipacker
web-frameworkjavascriptv0.0.16
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

hipacker
npx hipacker start
const hipacker = require('hipacker')
Hipacker is a CLI tool, not a library. Use npx or install globally. There is no programmatic API.
start
hipacker start
hipacker start react
The default start is for React; for Vue use 'hipacker start vue'.
build
hipacker build
hipacker build --mode production
The build command does not support a --mode flag; it always builds for production.

Demonstrates installing Hipacker globally and starting a dev server for React or Vue projects, then building for production.

// Install globally npm install -g hipacker // For a React project cd my-react-app hipacker start // For a Vue project cd my-vue-app hipacker start vue // Build for production hipacker build
hipacker --version
Debug
Known issues
gotchaHipacker expects React or Vue to be installed in the project; it does not bundle them.
fix
Run 'npm install react react-dom' for React or 'npm install vue' for Vue in your project before using Hipacker.
affects: *
deprecatedThe 'vue' option is experimental and may change in future versions.
fix
Check the README for updates on Vue support.
affects: 0.0.x
gotchaHipacker does not support CSS extraction or chunk splitting; production builds may be suboptimal.
fix
Consider using webpack or parcel for advanced optimization.
affects: 0.0.16
breakingThere is no 'hipacker eject' command; configuration is not customizable.
fix
If you need custom config, switch to create-react-app or vue-cli.
affects: 0.0.x
gotchaHipacker requires Node.js >=8.0.0; older versions will not work.
fix
Update Node.js to version 8 or higher.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'react'
Hipacker expects React to be installed in the project, but it is missing.
fix
Run 'npm install react react-dom' in your project directory.
hipacker: command not found
Hipacker is not installed globally or not in PATH.
fix
Install globally with 'npm install -g hipacker' or use npx: 'npx hipacker start'.
TypeError: Cannot read property 'compilation' of undefined
This may occur with incompatible Node.js versions or missing dependencies.
fix
Ensure Node.js >=8.0.0 and reinstall dependencies: delete node_modules and run 'npm install'.
SyntaxError: Unexpected token import
The project uses ES module syntax, but Hipacker may not handle it properly in some cases.
fix
Check your project's Babel configuration; Hipacker uses default presets.
Upgrade
Version history
0.0.16latest on npm
Audit
Dependencies
reactoptionalHipacker bundles React projects; React must be installed separately by the user.
vueoptionalHipacker bundles Vue projects; Vue must be installed separately by the user.
Agent activity
8 hits · last 30 days
node
8
Resources
hipacker — npm install hipacker · libregistry