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

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bundle(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[File], webpackResources: Seq[File], entry: Application, targetDir: File, 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)

    log

    Logger

    returns

    The generated bundles

  8. def bundleLibraries(emitSourceMaps: Boolean, generatedWebpackConfigFile: WebpackConfig, customWebpackConfigFile: Option[File], webpackResources: Seq[File], entryPointFile: EntryPoint, libraryModuleName: String, 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

    log

    Logger

    returns

    The generated bundle

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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.

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def run(args: String*)(workingDir: File, log: Logger): Unit

    Runs the webpack command.

    Runs the webpack command.

    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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def writeConfigFile(emitSourceMaps: Boolean, entry: WebpackInput, webpackConfigFile: WebpackConfig, libraryBundleName: Option[String], 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