Skip to content

Commit e653ba0

Browse files
committed
Disable JS plugin
1 parent 2c675e3 commit e653ba0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.sbt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lazy val commonSettings = Seq(
2424

2525
lazy val common = (crossProject(JSPlatform, JVMPlatform)
2626
.crossType(CrossType.Pure) in file("common"))
27-
.enablePlugins(ScalaJSPlugin)
27+
// .enablePlugins(ScalaJSPlugin)
2828
.settings(commonSettings, name := "onnx-scala-common",
2929
crossScalaVersions := Seq(
3030
dottyVersion,
@@ -131,8 +131,9 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
131131
// "org.bytedeco" % "onnxruntime-platform" % "1.5.2-1.5.5-SNAPSHOT"
132132
),
133133
crossScalaVersions := Seq(dottyVersion, scala213Version)
134-
).jvmSettings().jsSettings(
135-
scalaJSUseMainModuleInitializer := true) //, //Testing
134+
)
135+
//.jvmSettings().jsSettings(
136+
// scalaJSUseMainModuleInitializer := true) //, //Testing
136137
//Seems to be a bundling issue, copying things manually seems to work
137138
// npmDependencies in Compile += "onnxjs" -> "0.1.8")
138139

0 commit comments

Comments
 (0)