scalajsbundler

Webpack

object Webpack

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Webpack
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait WebpackMode extends AnyRef

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. object DevelopmentMode extends WebpackMode with Product with Serializable

  7. object ProductionMode extends WebpackMode with Product with Serializable

  8. object WebpackMode

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def bundle(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[File], webpackResources: Seq[File], entry: Application, targetDir: File, extraArgs: Seq[String], nodeArgs: Seq[String], mode: WebpackMode, log: Logger): ApplicationBundle

    Run webpack to bundle the application.

    Run webpack to bundle the application.

    emitSourceMaps

    Whether or not source maps are enabled

    generatedWebpackConfigFile

    Webpack config file generated by scalajs-bundler

    customWebpackConfigFile

    User supplied config file

    webpackResources

    Additional resources to be copied to the working folder

    entry

    Scala.js application to bundle

    targetDir

    Target directory (and working directory for Nodejs)

    extraArgs

    Extra arguments passed to webpack

    mode

    Mode for webpack 4

    log

    Logger

    returns

    The generated bundles

  11. def bundleLibraries(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[File], webpackResources: Seq[File], entryPointFile: EntryPoint, libraryModuleName: String, extraArgs: Seq[String], nodeArgs: Seq[String], mode: WebpackMode, log: Logger): Library

    Run webpack to bundle the application.

    Run webpack to bundle the application.

    emitSourceMaps

    Are source maps enabled?

    generatedWebpackConfigFile

    Webpack config file generated by scalajs-bundler

    customWebpackConfigFile

    User supplied config file

    webpackResources

    Additional webpack resources to include in the working directory

    entryPointFile

    The entrypoint file to bundle dependencies for

    libraryModuleName

    The library module name to assign the webpack bundle to

    extraArgs

    Extra arguments passed to webpack

    mode

    Mode for webpack 4

    log

    Logger

    returns

    The generated bundle

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def copyCustomWebpackConfigFiles(targetDir: File, webpackResources: Seq[File])(customConfigFile: File): File

    Copies the custom webpack configuration file and the webpackResources to the target dir

    Copies the custom webpack configuration file and the webpackResources to the target dir

    targetDir

    target directory

    webpackResources

    Resources to copy

    customConfigFile

    User supplied config file

    returns

    The copied config file.

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Definition Classes
    AnyRef
  23. def run(nodeArgs: String*)(args: String*)(workingDir: File, log: Logger): Option[WebpackStats]

    Runs the webpack command.

    Runs the webpack command.

    nodeArgs

    node.js cli flags

    args

    Arguments to pass to the webpack command

    workingDir

    Working directory in which the Nodejs will be run (where there is the node_modules subdirectory)

    log

    Logger

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def writeConfigFile(emitSourceMaps: Boolean, entry: WebpackInput, webpackConfigFile: WebpackConfig, libraryBundleName: Option[String], mode: WebpackMode, log: Logger): Unit

    Writes the webpack configuration file.

    Writes the webpack configuration file. The output file is designed to be minimal, and to be extended, however, the entry and output keys must be preserved in order for the bundler to work as expected.

    emitSourceMaps

    Whether source maps is enabled at all

    entry

    The input entrypoint file to process via webpack

    webpackConfigFile

    webpack configuration file to write to

    libraryBundleName

    If defined, generate a library bundle named libraryBundleName

    log

    Logger

Inherited from AnyRef

Inherited from Any

Ungrouped