o

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 := "3.5.5"

version in installJsdom

Version of jsdom to use.

version in startWebpackDevServer

Version of webpack-dev-server to use.

version in startWebpackDevServer := "2.11.1"

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.

Source
ScalaJSBundlerPlugin.scala
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
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &&(o: Basic): Plugins
    Definition Classes
    Basic → Plugins
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def allRequirements: PluginTrigger
    Definition Classes
    PluginsFunctions
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildSettings: Seq[sbt.Def.Setting[_]]
    Definition Classes
    AutoPlugin
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def derivedProjects(proj: ProjectDefinition[_]): Seq[Project]
    Definition Classes
    AutoPlugin
  10. def empty: Plugins
    Definition Classes
    PluginsFunctions
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def extraProjects: Seq[Project]
    Definition Classes
    AutoPlugin
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def globalSettings: Seq[sbt.Def.Setting[_]]
    Definition Classes
    ScalaJSBundlerPlugin → AutoPlugin
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val label: String
    Definition Classes
    AutoPlugin
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def noTrigger: PluginTrigger
    Definition Classes
    PluginsFunctions
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def projectConfigurations: Seq[Configuration]
    Definition Classes
    AutoPlugin
  24. lazy val projectSettings: Seq[sbt.Def.Setting[_]]
    Definition Classes
    ScalaJSBundlerPlugin → AutoPlugin
  25. lazy val requires: ScalaJSPlugin.type
    Definition Classes
    ScalaJSBundlerPlugin → AutoPlugin
  26. val scalaJSBundlerManifest: sbt.Def.Initialize[Task[sbt.File]]

    Writes the scalajs-bundler manifest file.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AutoPlugin → AnyRef → Any
  29. def trigger: PluginTrigger
    Definition Classes
    AutoPlugin
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. object autoImport

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AutoPlugin

Inherited from PluginsFunctions

Inherited from Basic

Inherited from Plugins

Inherited from AnyRef

Inherited from Any

Ungrouped