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
In order to include src/main/resources/js/dependency.js on a build that is ran in Windows, we have to specify ProvidedJS / "js\\dependency.js".
ProvidedJS / "js/dependency.js" does not work. It results in the following error:
> show resolvedJSDependencies
[trace] Stack trace suppressed: run last compile:resolvedJSDependencies for the full output.
[error] (compile:resolvedJSDependencies) org.scalajs.core.tools.jsdep.JSLibResolveException: Some references to JS libraries could not be resolved:
[error] - Missing JS library: js/dependency.js
since the String returned by FileVirtualJSFile.relativePath contains a backslash.
The text was updated successfully, but these errors were encountered:
I am pretty sure that this line is responsible. We should normalize relPath to always using /. I'll do that when I'm on a Windows machine, hopefully tonight.
In order to include
src/main/resources/js/dependency.js
on a build that is ran in Windows, we have to specifyProvidedJS / "js\\dependency.js"
.ProvidedJS / "js/dependency.js"
does not work. It results in the following error:since the
String
returned byFileVirtualJSFile.relativePath
contains a backslash.The text was updated successfully, but these errors were encountered: