jrudolph/pekko-http-scala-js-websocket-chat

package frontend out files to the backend.

sometao opened this issue · 1 comments

js source map file and jsdeps.js are missing in backend package.
brower(firefox or chrome) can't find "frontend-fastopt.js.map" and "frontend-jsdeps.js".

i can find the files in the frontend project directory, but they are missing in the backend project.
how can i add these files to backend project?

and, if i want use "frontend-jsdeps.min.js" in the backend project, what should i do?

thx.

i change my code in build.sbt to
(resourceGenerators in Compile) += Def.task{ Seq( (fastOptJS in Compile in frontend).value.data, //(fullOptJS in Compile in frontend).value.data, (packageScalaJSLauncher in Compile in frontend).value.data, (packageJSDependencies in Compile in frontend).value ) }.taskValue, watchSources ++= (watchSources in frontend).value

everything seems all right now.