A simple webpack bundler for minimal JavaScript bundling tasks. Current stable version is 4.3.0, released with support for Node 18+. Hiyori provides essential bundling features with minimal configuration, leveraging webpack under the hood but simplifying the setup. Ship TypeScript types for editor support. Suitable for small projects or quick prototyping where a full webpack configuration is overkill. Compared to tools like Parcel or esbuild, Hiyori focuses on being a straightforward wrapper around webpack, making it easy to bundle without deep webpack knowledge. Release cadence is irregular, primarily for bug fixes and updates.
npm install hiyoriVerified import paths — ran on the pinned version, not inferred.
Shows basic usage of the bundle function with entry and output options.
Use import syntax and ensure package.json has 'type': 'module' or use .mjs extension.
Use chokidar or webpack --watch directly.
Run webpack-cli serve separately or configure devServer in webpackConfig.
Switch to import statement and set 'type': 'module' in package.json, or use dynamic import: const hiyori = await import('hiyori').Use named import: import { bundle } from 'hiyori'.