Skip to content

Commit 408af25

Browse files
committed
Bump scalajs converter and bundler plugins
1 parent 69690ea commit 408af25

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

build.sbt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,12 @@ lazy val backends = (crossProject(JVMPlatform, JSPlatform)
8181
.jvmSettings(
8282
libraryDependencies += ("org.scalatest" %% "scalatest" % scalaTestVersion) % Test,
8383
).jsSettings(
84-
scalaJSUseMainModuleInitializer := true) //, //Testing
84+
scalaJSUseMainModuleInitializer := true, //Testing
85+
npmDependencies in Compile += "onnxjs" -> "0.1.8")
8586
//Seems to be a bundling issue, copying things manually seems to work
87+
//TODO NEW: try JS, bundler and converter beta/RC are out
8688
// npmDependencies in Compile += "onnxjs" -> "0.1.8")
89+
.jsConfigure { project => project.enablePlugins(ScalaJSBundlerPlugin)} //,ScalablyTypedConverterPlugin) }
8790

8891
lazy val core = (crossProject(JSPlatform, JVMPlatform)
8992
.crossType(CrossType.Pure) in file("core"))

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
88
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7")
99
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
1010
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.18" )
11-
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0")
11+
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0") // "0.21.0-RC1")
1212

1313
resolvers += Resolver.bintrayRepo("oyvindberg", "converter")
1414

1515
// for Scala.js 1.x.x
16-
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta30")
16+
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta31")

0 commit comments

Comments
 (0)