Skip to content

Commit

Permalink
Disable JS plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
EmergentOrder committed Nov 17, 2020
1 parent 2c675e3 commit e653ba0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lazy val commonSettings = Seq(

lazy val common = (crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure) in file("common"))
.enablePlugins(ScalaJSPlugin)
// .enablePlugins(ScalaJSPlugin)
.settings(commonSettings, name := "onnx-scala-common",
crossScalaVersions := Seq(
dottyVersion,
Expand Down Expand Up @@ -131,8 +131,9 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
// "org.bytedeco" % "onnxruntime-platform" % "1.5.2-1.5.5-SNAPSHOT"
),
crossScalaVersions := Seq(dottyVersion, scala213Version)
).jvmSettings().jsSettings(
scalaJSUseMainModuleInitializer := true) //, //Testing
)
//.jvmSettings().jsSettings(
// scalaJSUseMainModuleInitializer := true) //, //Testing
//Seems to be a bundling issue, copying things manually seems to work
// npmDependencies in Compile += "onnxjs" -> "0.1.8")

Expand Down

0 comments on commit e653ba0

Please sign in to comment.