File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,12 @@ lazy val backends = (crossProject(JVMPlatform, JSPlatform)
81
81
.jvmSettings(
82
82
libraryDependencies += (" org.scalatest" %% " scalatest" % scalaTestVersion) % Test ,
83
83
).jsSettings(
84
- scalaJSUseMainModuleInitializer := true ) // , //Testing
84
+ scalaJSUseMainModuleInitializer := true , // Testing
85
+ npmDependencies in Compile += " onnxjs" -> " 0.1.8" )
85
86
// Seems to be a bundling issue, copying things manually seems to work
87
+ // TODO NEW: try JS, bundler and converter beta/RC are out
86
88
// npmDependencies in Compile += "onnxjs" -> "0.1.8")
89
+ .jsConfigure { project => project.enablePlugins(ScalaJSBundlerPlugin )} // ,ScalablyTypedConverterPlugin) }
87
90
88
91
lazy val core = (crossProject(JSPlatform , JVMPlatform )
89
92
.crossType(CrossType .Pure ) in file(" core" ))
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
8
8
addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.7" )
9
9
addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.1.2" )
10
10
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")
12
12
13
13
resolvers += Resolver .bintrayRepo(" oyvindberg" , " converter" )
14
14
15
15
// 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 " )
You can’t perform that action at this time.
0 commit comments