An esbuild plugin for importing CoffeeScript and Literate CoffeeScript (.litcoffee) files, designed to integrate with Rails Sprockets. The current stable version is 2.2.2. The plugin compiles CoffeeScript to JavaScript using the coffeescript compiler, supporting options like source maps, bare mode, and Babel transpilation. It is actively maintained and provides TypeScript definitions. This plugin is a niche tool for legacy or existing CoffeeScript projects that want to use esbuild as their bundler, offering a straightforward API and compatibility with the Rails asset pipeline.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM default export; CommonJS require returns the plugin function directly.
CommonJS require gives the plugin function as the default, not as a named export.
TypeScript type import for configuration options; available since TypeScript types are shipped.
Demonstrates using the plugin with esbuild to bundle a CoffeeScript entry point.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.