Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client source files are in the distribution assets #20

Closed
ochrons opened this issue Aug 7, 2015 · 1 comment
Closed

Client source files are in the distribution assets #20

ochrons opened this issue Aug 7, 2015 · 1 comment

Comments

@ochrons
Copy link
Owner

ochrons commented Aug 7, 2015

All Scala sources for the client are included in the server distribution bundle under assets.

This is a regression in Play 2.4 and sbt-play-scalajs v0.2.6

@vmunier
Copy link
Contributor

vmunier commented Aug 10, 2015

Hi @ochrons,

Upgrading to sbt-play-scalajs v0.2.7 should fix the issue. The Scala files of the client projects are not included in the final jar by default. You can set (emitSourceMaps in fullOptJS) := true in the Scala.js project if you want to enable sourcemaps in production (which will also include the Scala files inside the jar).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants