Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions scala2_js/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ lazy val scala2Js = project
.in(file("."))
.enablePlugins(ScalaJSPlugin)
.settings(
version := "2.1.2",
scalaVersion := "2.13.16",
//scalaVersion := "2.12.20",
version := "2.1.2",
scalaVersion := "2.13.16",
// scalaVersion := "2.12.20",
organization := "com.github.gekomad",
scalaJSUseMainModuleInitializer := false,
scalaJSLinkerConfig ~= (_.withESFeatures(_.withESVersion(ESVersion.ES2018))),
scalaJSLinkerConfig ~= {
_.withModuleKind(ModuleKind.ESModule)
.withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List("scala2Js")))
},

scalacOptions ++= {
if (scalaVersion.value.startsWith("2.12")) {
Seq("-Ypartial-unification", "-Xfatal-warnings")
Expand All @@ -29,7 +28,7 @@ lazy val scala2Js = project
libraryDependencies += "co.fs2" %%% "fs2-io" % "3.11.0",
libraryDependencies += "com.chuusai" %%% "shapeless" % "2.3.12",
libraryDependencies += "com.github.gekomad" %%% "scala-regex-collection" % "2.0.1",
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.0",
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.1",
libraryDependencies += "org.scalameta" %%% "munit" % "1.1.0" % Test,
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.18.1" % Test
)
Expand Down
4 changes: 2 additions & 2 deletions scala3_js/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name := "itto-csv"
name := "itto-csv"

import org.scalajs.linker.interface.{ESVersion, ModuleSplitStyle}

Expand All @@ -19,7 +19,7 @@ lazy val scala3Js = project
libraryDependencies += "co.fs2" %%% "fs2-core" % "3.11.0",
libraryDependencies += "co.fs2" %%% "fs2-io" % "3.11.0",
libraryDependencies += "com.github.gekomad" %%% "scala-regex-collection" % "2.0.1",
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.0",
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.1",
libraryDependencies += "org.scalameta" %%% "munit" % "1.1.0" % Test,
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.18.1" % Test
)
Expand Down