Skip to content

Commit cfb31bb

Browse files
authored
Add missing native options for scala-js-cli (#2)
1 parent 8f814c3 commit cfb31bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sc

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ class ScalaJsCliNativeImage(val scalaJsVersion0: String) extends ScalaModule wit
2121
def nativeImageOptions = T{
2222
super.nativeImageOptions() ++ Seq(
2323
"--no-fallback",
24-
"-H:IncludeResources=org/scalajs/linker/backend/emitter/.*.sjsir"
24+
"-H:IncludeResources=org/scalajs/linker/backend/emitter/.*.sjsir",
25+
"-H:IncludeResources=com/google/javascript/jscomp/js/polyfills.txt",
26+
"-H:IncludeResourceBundles=com.google.javascript.jscomp.parsing.ParserConfig",
2527
)
2628
}
2729
def nativeImagePersist = System.getenv("CI") != null

0 commit comments

Comments
 (0)