Upgrade to Pro — share decks privately, control downloads, hide ads and more …

sbt-uglifier

 sbt-uglifier

Lightning Talk @ ScalaMatsuri 2018 After party

Okada Haruki

March 17, 2018
Tweet

More Decks by Okada Haruki

Other Decks in Technology

Transcript

  1. How does it work ? Surround each Scala source with

    package block Replace newline with whitespace/semicolon Concat all sources
  2. Example Try to uglify nscala-time https://github.com/nscala-time/nscala-time $ sbt > uglify

    > test [info] Failed: Total 21, Failed 0, Errors 18, Passed 3 Exception: java.lang.NoSuchMethodError: com.github.nscala_time. ...