Skip to content

Commit 93424ad

Browse files
authored
Merge pull request scala-js/scala-js#2884 from gzm0/no-package-launcher
Fix scala-js/scala-js#2883: Remove packageJSLauncher
2 parents 55afe7a + 425390e commit 93424ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sbt-plugin-test/build.sbt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ lazy val noDOM = project.settings(baseSettings: _*).
5050
name := "Scala.js sbt test w/o DOM",
5151
scalaJSOutputWrapper := (
5252
"// Scala.js - noDOM sbt test\n//\n// Compiled with Scala.js\n",
53-
"// End of Scala.js generated script")
53+
"// End of Scala.js generated script"),
54+
scalaJSUseMainModuleInitializer := true
5455
).
5556
/* This hopefully exposes concurrent uses of the linker. If it fails/gets
5657
* flaky, there is a bug somewhere - #2202
@@ -65,7 +66,8 @@ lazy val withDOM = project.settings(baseSettings: _*).
6566
jsEnv := new JSDOMNodeJSEnv(),
6667
scalaJSOutputWrapper := (
6768
"// Scala.js - withDOM sbt test\n//\n// Compiled with Scala.js\n",
68-
"// End of Scala.js generated script")
69+
"// End of Scala.js generated script"),
70+
scalaJSUseMainModuleInitializer := true
6971
)
7072

7173
lazy val jetty9 = project.settings(baseSettings: _*).

0 commit comments

Comments
 (0)