Packages

  • package root
    Definition Classes
    root
  • package scalajsbundler
    Definition Classes
    root
  • package sbtplugin
    Definition Classes
    scalajsbundler
  • object ScalaJSBundlerPlugin extends AutoPlugin

    This plugin enables ScalaJSPlugin and sets the scalaJSModuleKind to CommonJSModule.

    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.

    Definition Classes
    sbtplugin
  • object autoImport

    Definition Classes
    ScalaJSBundlerPlugin
  • RichBundlerFile

implicit class RichBundlerFile extends SBTBundlerFile

Source
ScalaJSBundlerPlugin.scala
Linear Supertypes
SBTBundlerFile, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichBundlerFile
  2. SBTBundlerFile
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichBundlerFile(f: Public)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def asAttributedFiles: Seq[sbt.Attributed[sbt.File]]
    Definition Classes
    SBTBundlerFile
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from SBTBundlerFile

Inherited from AnyRef

Inherited from Any

Ungrouped