File tree 4 files changed +24
-0
lines changed
4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,9 @@ libraryDependencies ++= PartialFunction.condOpt(
67
67
" org.scalamacros" % " paradise" % " 2.1.1" cross CrossVersion .full
68
68
)
69
69
}
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(
51
51
) { case true =>
52
52
" -P:scalajs:sjsDefinedByDefault"
53
53
}
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 += {
16
16
" org.scala-js" %%% " scalajs-dom" % " 1.2.0"
17
17
}
18
18
}
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(
67
67
" org.scalamacros" % " paradise" % " 2.1.1" cross CrossVersion .full
68
68
)
69
69
}
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