scala - How to make scalajs project depend on a subproject? -


i use case class sub project , receive error: referring non-existent @ runtime

in build.sbt, have:

lazy val scalajsproject = (project in file("scala-project/"))   .dependson(modelproject) 

i guess dependson not work scalajs?

i followed instruction here https://github.com/scala-js/scalajs-cross-compile-example create crossproject. , put models shared folder of crossproject. , recoginizes both in jvm , js project.


Comments

Popular posts from this blog

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -