armanbilge / sbt-bundlemon   0.1.4

Apache License 2.0 Website GitHub

sbt plugin for monitoring Scala.js artifact size

Scala versions: 2.12
sbt plugins: 1.0


Track Scala.js bundle size in CI with BundleMon. Check out an example PR.


  1. Install the BundleMon App on your repository.

  2. In project/plugins.sbt add:

addSbtPlugin("com.armanbilge" % "sbt-bundlemon" % "0.1.3")
  1. Enable the plugin on one or more applications in your build.sbt (or anything that exports to JavaScript):
lazy val todoMvc ="todo-mvc"))
    scalaJSUseMainModuleInitializer := true
  1. Add the following step to your CI workflow:
- name: Monitor bundle size
  run: sbt bundleMon
  1. Now you will get reports about the gzipped, fully-optimized bundle size in CI status and PR comments!

Please open issues and PRs for anything and everything :)