Pakku (v1.4.1) is a command-line web bundler and compiler that processes entire web sites: it scans for assets, links, pages, and images; versionizes filenames using Git commit IDs (cache busting); optimizes/minifies HTML, JavaScript, CSS, Less, JPEG, PNG, GIF, SVG; and supports data attributes for inline expansion and dev-only stripping. Differentiated by its holistic site-centric approach (vs module bundlers like Webpack) and zero-config philosophy. Released under MIT/BSD. Maintained on GitHub (zanona/pakku). Release cadence is irregular; latest stable v1.4.1 (2020-03-29). Requires Node >=6.
npm install pakkuVerified import paths — ran on the pinned version, not inferred.
Shows basic usage: create an HTML file, run pakku to build minified output with cache-busted filenames.
Ensure output directory does not contain important files or back them up.
Upgrade Node.js to version >=6.
Run pakku inside a Git repository to get proper cache-busting hashes.
Ensure input HTML is the original source, not already minified.
Verify Node.js version with 'node --version' and npm with 'npm --version'.
Check that the path to index.html is relative to current working directory and file exists.
Run with npx: npx pakku ... or install globally: npm install -g pakku
Install browserify: npm install browserify --save-dev
Ensure the output directory is writable; try running with elevated permissions (sudo) or change directory permissions.
No dependency data recorded yet.