scalajsbundler.sbtplugin

ScalaJSBundlerPlugin

object ScalaJSBundlerPlugin extends AutoPlugin

This plugin enables ScalaJSPlugin and sets the scalaJSModuleKind to CommonJSModule. It also makes it possible to define dependencies to NPM packages and provides tasks to fetch them or to bundle the application with its dependencies.

Tasks and Settings

The autoImport member documents the keys provided by this plugin. Besides these keys, the following existing keys also control the plugin:

version in webpack

Version of webpack to use. Example:

version in webpack := "2.1.0-beta.25"

version in installJsdom

Version of jsdom to use.

version in installWebpackDevServer

Version of webpack-dev-server to use.

crossTarget in npmUpdate

The directory in which NPM dependencies will be fetched, and where all the .js files will be generated. The directory is different according to the current Configuration (either Compile or Test).

Defaults to crossTarget.value / "scalajs-bundler" / "main" for Compile and crossTarget.value / "scalajs-bundler" / "test" for Test.

scalaJSLauncher

The launcher for Scala.js’ stage output (e.g. scalaJSLauncher in fastOptJS). The launcher runs the “main” of the application.

Linear Supertypes
AutoPlugin, PluginsFunctions, Basic, Plugins, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaJSBundlerPlugin
  2. AutoPlugin
  3. PluginsFunctions
  4. Basic
  5. Plugins
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def &&(o: Basic): Plugins

    Definition Classes
    Basic → Plugins
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def allRequirements: PluginTrigger

    Definition Classes
    PluginsFunctions
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. object autoImport

  10. def buildSettings: Seq[sbt.Def.Setting[_]]

    Definition Classes
    AutoPlugin
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def empty: Plugins

    Definition Classes
    PluginsFunctions
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def globalSettings: Seq[sbt.Def.Setting[_]]

    Definition Classes
    AutoPlugin
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val label: String

    Definition Classes
    AutoPlugin
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def noTrigger: PluginTrigger

    Definition Classes
    PluginsFunctions
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def projectConfigurations: Seq[Configuration]

    Definition Classes
    AutoPlugin
  26. lazy val projectSettings: Seq[sbt.Def.Setting[_]]

    Definition Classes
    ScalaJSBundlerPlugin → AutoPlugin
  27. lazy val requires: ScalaJSPlugin.type

    Definition Classes
    ScalaJSBundlerPlugin → AutoPlugin
  28. lazy val scalaJSBundlerManifest: sbt.Def.Initialize[Task[File]]

    Writes the scalajs-bundler manifest file.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AutoPlugin → AnyRef → Any
  31. def trigger: PluginTrigger

    Definition Classes
    AutoPlugin
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def webpackTask(stage: TaskKey[Attributed[File]]): sbt.Def.Initialize[Task[Seq[File]]]

Inherited from AutoPlugin

Inherited from PluginsFunctions

Inherited from Basic

Inherited from Plugins

Inherited from AnyRef

Inherited from Any

Ungrouped