I'm trying use 'ProvidedJS' like this:
jsDependencies ++= Seq(
...,
ProvidedJS / "my-script.js"
)
and put the javascript file under src/main/resources
Getting the following error:
(client/compile:scalaJSPreLinkClasspath)
org.scalajs.core.tools.classpath.JSLibResolveException:
Some references to JS libraries could not be resolved:
- Missing JS library: my-script.js
just put it into
./src/main/resources/my-script.js