scala.scalajs.tools

jsdep

package jsdep

Visibility
  1. Public
  2. All

Type Members

  1. class ConflictingNameException extends DependencyException

  2. class CyclicDependencyException extends DependencyException

  3. abstract class DependencyException extends Exception

  4. case class FlatJSDependency(origin: Origin, resourceName: String, dependencies: List[String] = Nil, commonJSName: Option[String] = None) extends Product with Serializable

    The same as a JSDependency but containing the origin from the containing JSDependencyManifest.

    The same as a JSDependency but containing the origin from the containing JSDependencyManifest. This class is used for filtering of dependencies.

  5. final case class JSDependency(resourceName: String, dependencies: List[String] = Nil, commonJSName: Option[String] = None) extends Product with Serializable

    Expresses a dependency on a raw JS library and the JS libraries this library itself depends on.

    Expresses a dependency on a raw JS library and the JS libraries this library itself depends on.

    Both the resourceName and each element of dependencies is the unqualified filename of the library (e.g. "jquery.js").

    resourceName

    Filename of the JavaScript file to include (e.g. "jquery.js")

    dependencies

    Filenames of JavaScript files that must be included before this JavaScript file.

    commonJSName

    A JavaScript variable name this dependency should be required in a commonJS environment (n.b. Node.js). Should only be set if the JavaScript library will register its exports.

  6. final case class JSDependencyManifest(origin: Origin, libDeps: List[JSDependency], requiresDOM: Boolean) extends Product with Serializable

    The information written to a "JS_DEPENDENCIES" manifest file.

  7. class MissingDependencyException extends DependencyException

  8. final case class Origin(moduleName: String, configuration: String) extends Product with Serializable

    The place a JSDependency originated from

  9. final case class ResolutionInfo(resourceName: String, dependencies: Set[String], origins: List[Origin], commonJSName: Option[String]) extends Product with Serializable

    Information about a resolved JSDependency

    Information about a resolved JSDependency

    resourceName

    Filename of the JavaScript file

    dependencies

    Filenames this dependency depends on

    origins

    Who declared this dependency

    commonJSName

    Variable name in commonJS environments

Value Members

  1. object ConflictingNameException extends Serializable

  2. object CyclicDependencyException extends Serializable

  3. object JSDependency extends Serializable

  4. object JSDependencyManifest extends Serializable

  5. object Origin extends Serializable

Ungrouped