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
ScalaJSPluginand sets thescalaJSModuleKindtoCommonJSModule.This plugin enables
ScalaJSPluginand sets thescalaJSModuleKindtoCommonJSModule. 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 webpackVersion of webpack to use. Example:
version in webpack := "3.5.5"version in installJsdomVersion of jsdom to use.
version in startWebpackDevServerVersion of webpack-dev-server to use.
version in startWebpackDevServer := "2.11.1"crossTarget in npmUpdateThe 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(eitherCompileorTest).Defaults to
crossTarget.value / "scalajs-bundler" / "main"forCompileandcrossTarget.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