summaryrefslogtreecommitdiff
path: root/book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex
diff options
context:
space:
mode:
authorHaoyi Li <haoyi@haoyi-mbp.corp.dropbox.com>2014-11-26 01:43:13 -0800
committerHaoyi Li <haoyi@haoyi-mbp.corp.dropbox.com>2014-11-26 01:43:13 -0800
commit0489a0d6c8d3beceeedb8c2f6eaad7b9387073c0 (patch)
tree95efbc083dee7d9ce8211d44d3f98c4a34c26ad4 /book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex
parent88595a41e3ec13c1a516e847fe3d0b279facf3fc (diff)
downloadhands-on-scala-js-0489a0d6c8d3beceeedb8c2f6eaad7b9387073c0.tar.gz
hands-on-scala-js-0489a0d6c8d3beceeedb8c2f6eaad7b9387073c0.tar.bz2
hands-on-scala-js-0489a0d6c8d3beceeedb8c2f6eaad7b9387073c0.zip
one-button build
Diffstat (limited to 'book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex')
-rw-r--r--book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex b/book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex
index 1718f5e..cb55bf9 100644
--- a/book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex
+++ b/book/src/main/scalatex/book/indepth/CompilationPipeline.scalatex
@@ -1,3 +1,4 @@
+@import BookData._
@p
Scala.js is implemented as a compiler plugin in the Scala compiler. Despite this, the overall process looks very different from that of a normal Scala application. This is because Scala.js optimizes for the size of the compiled executable, which is something that Scala-JVM does not usually do.