Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created October 23, 2023 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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