package sbtplugin
- Alphabetic
- Public
- All
Type Members
-
class
SBTBundlerFile extends AnyRef
SBT Specific Extensions to scalajsbundler.BundlerFile
Value Members
- object LibraryTasks
- object NpmAssets
- object NpmUpdateTasks
- object PackageJsonTasks
- object SBTBundlerFile
-
object
ScalaJSBundlerPlugin extends AutoPlugin
This plugin enables
ScalaJSPlugin
and sets thescalaJSModuleKind
toCommonJSModule
.This plugin enables
ScalaJSPlugin
and sets thescalaJSModuleKind
toCommonJSModule
. 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
(eitherCompile
orTest
).Defaults to
crossTarget.value / "scalajs-bundler" / "main"
forCompile
andcrossTarget.value / "scalajs-bundler" / "test"
forTest
. -
object
WebScalaJSBundlerPlugin extends AutoPlugin
If WebScalaJS is enabled, tweaks the pipelineStage so that the bundle is produced as an sbt-web asset.
If WebScalaJS is enabled, tweaks the pipelineStage so that the bundle is produced as an sbt-web asset.
Tasks and Settings
See the autoImport member.
- object WebpackTasks