Skip to content

Commit 67b63aa

Browse files
committed
Restore js/bundler for backend
1 parent 96fec93 commit 67b63aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
106106
.crossType(CrossType.Pure) in file("backends"))
107107
.dependsOn(core)
108108
//conditionally enabling/disable based on version, still not working
109-
// .enablePlugins(ScalaJSBundlerPlugin) //{ScalablyTypedConverterPlugin})
109+
.enablePlugins(ScalaJSBundlerPlugin) //{ScalablyTypedConverterPlugin})
110110
.settings(
111111
commonSettings,
112112
name := "onnx-scala-backends",
@@ -132,9 +132,9 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
132132
),
133133
crossScalaVersions := Seq(dottyVersion, scala213Version)
134134
).jvmSettings().jsSettings(
135-
scalaJSUseMainModuleInitializer := true) //, //Testing
135+
scalaJSUseMainModuleInitializer := true, //, //Testing
136136
//Seems to be a bundling issue, copying things manually seems to work
137-
//npmDependencies in Compile += "onnxjs" -> "0.1.8")
137+
npmDependencies in Compile += "onnxjs" -> "0.1.8")
138138

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

0 commit comments

Comments
 (0)