Skip to content

dispalt/sbt-reactjs

Repository files navigation

ReactJS Source Compiler

Scala CI

  • The master series is for React 0.14.x
  • The 0.4.x series is for React 0.12
  • The 0.3.x series is for React 0.11
  • The 0.2.x series is for React 0.10

This plugin hooks your JSX files in to the Asset compilation phase. It uses the autoPlugin feature with 0.13.5 to make the setup dead-simple.

To use this plugin use the addSbtPlugin command within your project's plugins.sbt (or as a global setting) i.e.:

addSbtPlugin("com.github.ddispaltro" % "sbt-reactjs" % "0.6.8")

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)

Options

  • harmony: Turns on JS transformations such as ES6 Classes etc.
  • stripTypes: Strips out type annotations.
  • sourceMapInline: Embed inline sourcemap in transformed source

The artifact is hosted as part of the community plugins via bintray service.

License

sbt-reactjs is licensed under the Apache License, Version 2.0

About

React SBT Plugin using npm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy