A framework-agnostic compiler/transpiler that bundles Babel, Rollup, and Node script management into a single watch-driven workflow. Current stable version is 7.0.170. Released irregularly as a personal tool. Unlike full-featured bundlers, it focuses on rapid development with built-in static server, automatic restarts, and path mappings. Configuration is done via package.json under the 'kompiler' key. Supports custom Babel presets, multiple builds, Node script watching, and HTTP file auto-updates. Primarily intended for the author and friends, with minimal documentation and breaking changes between versions.
npm install kompilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickstart showing minimal package.json configuration to transpile a single file and run the build.
Update package.json: rename key from 'compiler' to 'kompiler', and convert single watch paths to arrays.
Remove 'autoupdates' from configuration; use external tools like curl or wget instead.
Ensure that when input is a directory, output is also a directory (e.g., 'dist/').
Use 'express: true' in build config to enable the Express server with full HTTP support.
Install globally: npm install -g kompiler, or use npx kompiler.
Check configuration adheres to the current version schema. In v7, 'watch' inside 'builds' must be an array of file paths.