Skip to content

Commit

Permalink
FIX #699 add recipe for scalajs packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Mar 20, 2016
1 parent 9789e97 commit ae64ee3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/sphinx/recipes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ This section provides recipes for common configurations. If you can't find what
.. toctree::
:maxdepth: 1

custom.rst
longclasspath.rst
play.rst
deployment.rst
custom
longclasspath
play
deployment
scalajs



Expand Down
19 changes: 19 additions & 0 deletions src/sphinx/recipes/scalajs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. _scalajs:

Scala JS packaging
==================

.. warning:: This is no official scala js doc, but created from the native-packager community.
See `issue-699`_.

Package webjars and scalajs resources
-------------------------------------

In order to package all assets correctly, add this to your project

.. code-block:: scala
(managedClasspath in Runtime) += (packageBin in previewJVM in Assets).value
.. _issue-699: https://github.com/sbt/sbt-native-packager/issues/699

0 comments on commit ae64ee3

Please sign in to comment.