Skip to content

Commit ca8359d

Browse files
committed
sbt2 prep: drop scalajs-bundler from the js fixture
The fixture keeps its @jsimport facade, which only has to compile; no test runs the npm module. mdoc's own docs already steer users away from the bundler, and it has no sbt 2 build, which is what blocked the switch.
1 parent a49655f commit ca8359d

3 files changed

Lines changed: 2 additions & 10427 deletions

File tree

build.sbt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,9 @@ val jsdocs = project
302302
_.withModuleKind(ModuleKind.CommonJSModule)
303303
},
304304
depJsDom,
305-
scalaJSUseMainModuleInitializer := true,
306-
Compile / npmDependencies ++= List(
307-
"ms" -> "2.1.1"
308-
),
309-
webpackBundlingMode := BundlingMode.LibraryOnly()
305+
scalaJSUseMainModuleInitializer := true
310306
)
311-
.enablePlugins(ScalaJSPlugin, ScalaJSBundlerPlugin)
307+
.enablePlugins(ScalaJSPlugin)
312308

313309
val jswebsitedocs = project
314310
.in(file("tests/websiteJs"))

project/plugins.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.12.0")
44

55
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.22.0")
66

7-
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1")
8-
97
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.12")
108

119
val crossProjectV = "1.3.2"

0 commit comments

Comments
 (0)