summaryrefslogtreecommitdiff
path: root/example/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'example/build.sbt')
-rw-r--r--example/build.sbt8
1 files changed, 5 insertions, 3 deletions
diff --git a/example/build.sbt b/example/build.sbt
index 65f7ed2..521ddc3 100644
--- a/example/build.sbt
+++ b/example/build.sbt
@@ -1,6 +1,11 @@
enablePlugins(ScalaJSPlugin)
+
+// dynamic page reloading
enablePlugins(WorkbenchPlugin)
+// (experimental feature) in-place code update with state preservation
+// enablePlugins(WorkbenchSplicePlugin) // disable WorkbenchPlugin when activating
+
name := "Example"
scalaVersion := "2.12.0"
@@ -10,6 +15,3 @@ version := "0.1-SNAPSHOT"
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.1"
)
-
-// (experimental feature)
-spliceBrowsers <<= spliceBrowsers.triggeredBy(fastOptJS in Compile)