You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides the single-file and no-file cases, does many-file output need to be considered as well? This is for example used by the ES module linking mode I believe. The legacy API was also unable to handle this.
Prior to 2.3.1, Mdoc.js was using a deprecated SJS API which explicitly wrote out an empty file if the list of produced JS modules is empty: https://github.com/scala-js/scala-js/blob/main/linker-interface/shared/src/main/scala/org/scalajs/linker/interface/ReportToLinkerOutputAdapter.scala#L51-L53
This can happen if your document only has
mdoc:js:shared
andmdoc:js:compile-only
, none of which introduce a runnable entrypoint.Most recently it was seen in PurpleKingdomGames/tyrian#70
In terms of error reporting, this looks like a regression, as there's nothing explicitly bad about only have shared/compile-only snippets
The text was updated successfully, but these errors were encountered: