with the webpackBundlingMode := BundlingMode.LibraryAndApplication() set in build.sbt. When executing in a browser console, I was only able to access to openmole_site object and not the the foo one. Turning the sourcemap to true fixed this issue; but it shouldn't be correlated, right ?
I guess it is a bug. I tried to build an application with multiple entry points as described here: https://scalacenter.github.io/scalajs-bundler/cookbook.html#several-entry-points. In my source I defined a very dummy code like this:
with the
webpackBundlingMode := BundlingMode.LibraryAndApplication()
set in build.sbt. When executing in a browser console, I was only able to access toopenmole_site
object and not the thefoo
one. Turning the sourcemap to true fixed this issue; but it shouldn't be correlated, right ?