File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,9 @@ libraryDependencies ++= PartialFunction.condOpt(
6767 " org.scalamacros" % " paradise" % " 2.1.1" cross CrossVersion .full
6868 )
6969}
70+
71+ webpack / version := if (VersionNumber (scalaJSVersion).matchesSemVer(SemanticSelector (" <1" ))) {
72+ " 5.98.0"
73+ } else {
74+ " 4.47.0"
75+ }
Original file line number Diff line number Diff line change @@ -51,3 +51,9 @@ scalacOptions ++= PartialFunction.condOpt(
5151) { case true =>
5252 " -P:scalajs:sjsDefinedByDefault"
5353}
54+
55+ webpack / version := if (VersionNumber (scalaJSVersion).matchesSemVer(SemanticSelector (" <1" ))) {
56+ " 5.98.0"
57+ } else {
58+ " 4.47.0"
59+ }
Original file line number Diff line number Diff line change @@ -16,3 +16,9 @@ libraryDependencies += {
1616 " org.scala-js" %%% " scalajs-dom" % " 1.2.0"
1717 }
1818}
19+
20+ webpack / version := if (VersionNumber (scalaJSVersion).matchesSemVer(SemanticSelector (" <1" ))) {
21+ " 5.98.0"
22+ } else {
23+ " 4.47.0"
24+ }
Original file line number Diff line number Diff line change @@ -67,3 +67,9 @@ libraryDependencies ++= PartialFunction.condOpt(
6767 " org.scalamacros" % " paradise" % " 2.1.1" cross CrossVersion .full
6868 )
6969}
70+
71+ webpack / version := if (VersionNumber (scalaJSVersion).matchesSemVer(SemanticSelector (" <1" ))) {
72+ " 5.98.0"
73+ } else {
74+ " 4.47.0"
75+ }
You can’t perform that action at this time.
0 commit comments