A Def.Initialize for a PhantomJSEnv with the
default configuration.
A Def.Initialize for a PhantomJSEnv with the
default configuration.
This is equivalent to
PhantomJSEnv(org.scalajs.jsenv.phantomjs.PhantomJSEnv.Config())
A Def.Initialize for a PhantomJSEnv.
A Def.Initialize for a PhantomJSEnv.
Use this to specify in your build that you would like to run and/or test a project with PhantomJS:
jsEnv := PhantomJSEnv(...).value
The specified Config is augmented with an appropriate Jetty class
loader (through withJettyClassLoader).
Note that the resulting Setting is not scoped at all, but must be
scoped in a project that has the ScalaJSPlugin enabled to work
properly. Therefore, either put the upper line in your project settings
(common case) or scope it manually, using sbt.ProjectExtra.inScope.
Class loader for PhantomJSEnv, used to load jetty8.
Class loader for PhantomJSEnv, used to load jetty8.
Usually, you should not need to use scalaJSPhantomJSClassLoader
directly. Instead, use the PhantomJSEnv() function.