Skip to content

kwseok/sbt-babeljs

Repository files navigation

sbt-babeljs Build Status

Provides an sbt-web source task for the babeljs.io transpiler. derived from onelson/sbt-babeljs

Installation

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

addSbtPlugin("com.github.stonexx.sbt" % "sbt-babeljs" % "1.0.6")

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)

JsEngineKeys.engineType := JsEngineKeys.EngineType.Node

Install babel-core, either globally with npm:

npm install babel-core -g

Or locally in your project with a package.json file:

{
  "devDependencies": {
    "babel-core": "^6.2.4"
  }
}

About

sbt-web source task plugin for the bablejs.io transpiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published