From e653ba08b0c640937bbc6bee9b59c5c4ea890875 Mon Sep 17 00:00:00 2001 From: Alex Merritt Date: Tue, 17 Nov 2020 12:57:50 -0400 Subject: [PATCH] Disable JS plugin --- build.sbt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index de39d2bd..9d0998de 100755 --- a/build.sbt +++ b/build.sbt @@ -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, @@ -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")