- Use crossbuilding to separate HTML compilation to the JVM sub project
- Create separate tasks to compile HTML for the fastOpt and fullOpt
stage
- Create an alias "dist" = ";cleanOutputJS ;packageJSDependencies
;packageScalaJSLauncher ;compileHtmlProdTask ;fullOptJS"
- Use TaskStreams value instead of println
- Use normalizedName to simplify the generated javascript filenames