Skip to content

Commit

Permalink
SBT: add JSPlatform to mdoc-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Jan 24, 2025
1 parent 10bc4f8 commit 58ccbec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ val excludePprint = ExclusionRule(organization = "com.lihaoyi")
val excludeCollection =
ExclusionRule(organization = "org.scala-lang.modules", name = "scala-collection-compat_2.13")

lazy val parser = crossProject(JVMPlatform, NativePlatform)
lazy val parser = crossProject(JVMPlatform, NativePlatform, JSPlatform)
.withoutSuffixFor(JVMPlatform)
.settings(
sharedSettings,
Expand Down
7 changes: 5 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1")

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.18.1")

addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1")

addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.6")

addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
val crossProjectV = "1.3.2"

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % crossProjectV)
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % crossProjectV)

libraryDependencies ++= List(
"org.jsoup" % "jsoup" % "1.12.1",
Expand Down

0 comments on commit 58ccbec

Please sign in to comment.