Skip to content

idleberg/bun-plugin-coffeescript

Repository files navigation

bun-plugin-coffeescript

Use CoffeeScript with Bun, old meets new.

License Version: npm GitHub branch check runs

This plugin provides support for both CoffeeScript and CSON to your Bun projects. It is roughly modelled after the esbuild-coffeescript and is still in its infancy. Your feedback or contribution is welcome!

Installation 💿

bun install bun-plugin-coffeescript

Usage 🚀

import CoffeePlugin from "bun-plugin-coffeescript";

Bun.build({
  entrypoints: ["app.coffee"],
  outdir: "dist",
  target: "browser",
  plugins: [
    CoffeePlugin(/* compiler options */),
  ],
});

License ©️

This work is licensed under The MIT License.