Skip to content
  • Urs Honegger's avatar
    frontend-asset-handling · f09d6077
    Urs Honegger authored
    * complete refactoring of build.sbt. Defides main-project into three subproject (client, server and shared)
    * introduces Settings.sbt references from build.sbt (with all version and environment related settings and dependencies
    * introduces scala-js (client-project) with all necessary tools around
    * introduces sbt-web plugins and dependencies to pack, minifiy, fingerprint (and so forth) assets
    * introduces samples for remote-logging and autowire-communication with methods in backend (through API)
    * adds NPM to the docker-container (for faster compiling scala-js and dependencies)
    * introduces Asset-Handler with lib-function for webjar-Assets
    * lessifies all css-dependencies so that they get distributed as one (optimized) css (rewrites relative urls)
    * cleans up main.scala.js, stylesheet import reduced to one css-style-tag and javascript is handles the scala-js way
    * introduces _asset and _assetWebjars templates to provide versioned asset-Url including configured cdn prefix (if present)
    f09d6077