Skip to content

Commit

Permalink
ScalaJSModule: Deprecate fastOpt and fullOpt (#2326)
Browse files Browse the repository at this point in the history
Pull request: #2326
  • Loading branch information
lefou committed Mar 30, 2023
1 parent b64e1bb commit 4a1754d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scalajslib/src/mill/scalajslib/ScalaJSModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,12 @@ trait ScalaJSModule extends scalalib.ScalaModule { outer =>
linkTask(isFullLinkJS = true, forceOutJs = false)()
}

@deprecated("Use fastLinkJS instead", "Mill 0.10.12")
def fastOpt: Target[PathRef] = T {
getReportMainFilePathRef(linkTask(isFullLinkJS = false, forceOutJs = true)())
}

@deprecated("Use fullLinkJS instead", "Mill 0.10.12")
def fullOpt: Target[PathRef] = T {
getReportMainFilePathRef(linkTask(isFullLinkJS = true, forceOutJs = true)())
}
Expand Down

0 comments on commit 4a1754d

Please sign in to comment.