Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created October 23, 2023 08:09
Show Gist options
  • Save v6ak/6239ef33ebb41af12c8fb6e0228d2995 to your computer and use it in GitHub Desktop.
Save v6ak/6239ef33ebb41af12c8fb6e0228d2995 to your computer and use it in GitHub Desktop.
fastOptJS / scalaJSLinkerConfig ~= {
_.withModuleKind(ModuleKind.ESModule)
.withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List("com.v6ak.zbdb")))
},
fullOptJS / scalaJSLinkerConfig ~= {
_.withModuleKind(ModuleKind.CommonJSModule)
.withModuleSplitStyle(ModuleSplitStyle.FewestModules)
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment