Home

Awesome

sbt-coffeescript with JSX-files (ReactJS) support.

based on sbt-coffeescript

An SBT plugin to compile CoffeeScript and CoffeeScript JSX sources to JavaScript.

To use this plugin use the addSbtPlugin command within your project's plugins.sbt file:

resolvers += Resolver.url("GitHub repository", url("http://shaggyyeti.github.io/releases"))(Resolver.ivyStylePatterns)

addSbtPlugin("default" % "sbt-coffeescript-reactjs" % "1.0.1-SNAPSHOT")

Your project's build file also needs to enable sbt-web plugins. For example with build.sbt:

lazy val root = (project in file(".")).enablePlugins(SbtWeb)

Once configured, any *.coffee, *.litcoffee, *.cjx or *.cjsx files placed in src/main/assets will be compiled to JavaScript code in target/web/public.

Supported settings:

The plugin is built on top of JavaScript Engine which supports different JavaScript runtimes.