Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



To generate a single JavaScript file using sbt, just use the fastOptJS task:

> fastOptJS
If you want to change selection, open document below and click on "Move attachment"

Basic tutorial - Scala.js
pplication, we would like to use it in an HTML page. To do this, we need two steps: Generate a single JavaScript file out of our compiled code Create an HTML page which includes that file and calls the application Generate JavaScript <span>To generate a single JavaScript file using sbt, just use the fastOptJS task: > fastOptJS [info] Fast optimizing (...)/scala-js-tutorial/target/scala-2.11/scala-js-tutorial-fastopt.js [success] (...) This will perform some fast optimizations and generate the target/sc


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.