object ScalaJSBundlerPlugin extends AutoPlugin
This plugin enables ScalaJSPlugin
and sets the scalaJSModuleKind
to CommonJSModule
. 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
(either Compile
or Test
).
Defaults to crossTarget.value / "scalajs-bundler" / "main"
for Compile
and
crossTarget.value / "scalajs-bundler" / "test"
for Test
.
- Alphabetic
- By Inheritance
- ScalaJSBundlerPlugin
- AutoPlugin
- PluginsFunctions
- Basic
- Plugins
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&(o: Basic): Plugins
- Definition Classes
- Basic → Plugins
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allRequirements: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
derivedProjects(proj: ProjectDefinition[_]): Seq[Project]
- Definition Classes
- AutoPlugin
-
def
empty: Plugins
- Definition Classes
- PluginsFunctions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extraProjects: Seq[Project]
- Definition Classes
- AutoPlugin
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
globalSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- ScalaJSBundlerPlugin → AutoPlugin
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
label: String
- Definition Classes
- AutoPlugin
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noTrigger: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
projectConfigurations: Seq[Configuration]
- Definition Classes
- AutoPlugin
-
lazy val
projectSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- ScalaJSBundlerPlugin → AutoPlugin
-
lazy val
requires: ScalaJSPlugin.type
- Definition Classes
- ScalaJSBundlerPlugin → AutoPlugin
-
val
scalaJSBundlerManifest: sbt.Def.Initialize[Task[sbt.File]]
Writes the scalajs-bundler manifest file.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AutoPlugin → AnyRef → Any
-
def
trigger: PluginTrigger
- Definition Classes
- AutoPlugin
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object autoImport
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated