Skip to content

Commit

Permalink
Make msgpack build configuration emit CommonJS module
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmuszz committed Jun 9, 2024
1 parent c9f2dff commit e100ba2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ lazy val msgpack = crossProject(JVMPlatform, JSPlatform, NativePlatform)
name := "fs2-data-msgpack",
description := "Streaming MessagePack library"
)
.jsSettings(
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))
)

lazy val benchmarks = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
Expand Down

0 comments on commit e100ba2

Please sign in to comment.