object Webpack

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

Type Members

  1. sealed trait WebpackMode extends AnyRef

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bundle(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[sbt.File], webpackResources: Seq[sbt.File], entry: Application, targetDir: sbt.File, extraArgs: Seq[String], nodeArgs: Seq[String], mode: WebpackMode, devServerPort: Int, log: sbt.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 5

    devServerPort

    Port used by webpack-dev-server

    log

    Logger

    returns

    The generated bundles

  6. def bundleLibraries(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[sbt.File], webpackResources: Seq[sbt.File], entryPointFile: EntryPoint, libraryModuleName: String, extraArgs: Seq[String], nodeArgs: Seq[String], mode: WebpackMode, devServerPort: Int, log: sbt.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 5

    log

    Logger

    returns

    The generated bundle

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def copyCustomWebpackConfigFiles(targetDir: sbt.File, webpackResources: Seq[sbt.File])(customConfigFile: sbt.File): sbt.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.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def run(nodeArgs: String*)(args: String*)(workingDir: sbt.File, log: sbt.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

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def writeConfigFile(emitSourceMaps: Boolean, entry: WebpackInput, webpackConfigFile: WebpackConfig, libraryBundleName: Option[String], mode: WebpackMode, devServerPort: Int, log: sbt.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

  24. object DevelopmentMode extends WebpackMode with Product with Serializable
  25. object ProductionMode extends WebpackMode with Product with Serializable
  26. object WebpackMode

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped