Skip to content

Commit

Permalink
ScalaJSModule: Deprecate fastOpt and fullOpt (#2324)
Browse files Browse the repository at this point in the history
Pull request: #2324
  • Loading branch information
lefou committed Mar 19, 2023
1 parent 9ddb1ad commit 501f63e
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 @@ -107,10 +107,12 @@ trait ScalaJSModule extends scalalib.ScalaModule { outer =>
linkTask(isFullLinkJS = true, forceOutJs = false)()
}

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

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

0 comments on commit 501f63e

Please sign in to comment.