File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ lazy val noDOM = project.settings(baseSettings: _*).
50
50
name := " Scala.js sbt test w/o DOM" ,
51
51
scalaJSOutputWrapper := (
52
52
" // 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
54
55
).
55
56
/* This hopefully exposes concurrent uses of the linker. If it fails/gets
56
57
* flaky, there is a bug somewhere - #2202
@@ -65,7 +66,8 @@ lazy val withDOM = project.settings(baseSettings: _*).
65
66
jsEnv := new JSDOMNodeJSEnv (),
66
67
scalaJSOutputWrapper := (
67
68
" // 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
69
71
)
70
72
71
73
lazy val jetty9 = project.settings(baseSettings : _* ).
You can’t perform that action at this time.
0 commit comments