File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1-
2-
31name := " udash-jquery"
42
53inThisBuild(Seq (
@@ -75,7 +73,7 @@ val commonJSSettings = Seq(
7573)
7674
7775lazy val root = project.in(file(" ." ))
78- .enablePlugins(ScalaJSBundlerPlugin )
76+ .enablePlugins(ScalaJSBundlerPlugin , JSDependenciesPlugin )
7977 .settings(
8078 commonSettings,
8179 commonJSSettings,
@@ -87,5 +85,6 @@ lazy val root = project.in(file("."))
8785 ),
8886
8987 Compile / npmDependencies += " jquery" -> " 3.3.1" ,
88+ jsDependencies += " org.webjars" % " jquery" % " 3.3.1" / " 3.3.1/jquery.js" ,
9089 Test / requireJsDomEnv := true
9190 )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import sbt._
33
44object Dependencies {
55 val udashCoreVersion = " 0.8.3"
6- val udashJQueryVersion = " 3.0.2 "
6+ val udashJQueryVersion = " 3.0.0-SNAPSHOT "
77
88 val deps = Def .setting(Seq [ModuleID ](
99 " io.udash" %%% " udash-core" % udashCoreVersion,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ logLevel := Level.Warn
22
33addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.0.1" )
44addSbtPlugin(" ch.epfl.scala" % " sbt-scalajs-bundler" % " 0.17.0" )
5+ addSbtPlugin(" org.scala-js" % " sbt-jsdependencies" % " 1.0.0" )
56
67// Deployment configuration
78addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 2.0.1" )
You can’t perform that action at this time.
0 commit comments