Pallet is a zero-config JavaScript bundler that processes an HTML entry point and automatically bundles linked JS and CSS into separate files. Version 1.0.12 is the latest stable release with infrequent updates. It offers a simple CLI with options for entry, output directory, and file naming, plus a config file for customization. Unlike webpack or Parcel, Pallet focuses on minimal setup and HTML-first bundling, making it suitable for small static sites or prototyping.
npm install pallet-bundlerVerified import paths — ran on the pinned version, not inferred.
Creates a simple project with HTML, CSS, and JS files, then bundles them into a dist folder using CLI.
Use module.exports instead of export default.
Ensure all local references are relative and correct.
Backup your dist folder or use a different output dir.
Specify entry with -e flag or ensure index.html exists.
Install globally: npm install -g pallet-bundler
Create index.html or specify correct entry with -e.
Ensure pallet.config.js exports a valid object.