Appends another PartialClasspath to this one.
Appends another PartialClasspath to this one. This means:
Also have a look at PartialIRClasspath#merge
The same as append, but does not preserve order between the IR files of both PartialIRClasspaths.
The same as append, but does not preserve order between the IR files of both PartialIRClasspaths. This is always safe (if append is safe), since we can establish a safe order using ancestor count.
It is **strongly** advisable to use merge over append whenever possible, since append needs to read the scalaJSCode property which triggers a packaging step.
Construct a CompleteClasspath out of this PartialClasspath by:
Construct a CompleteClasspath out of this PartialClasspath by:
PartialIRClasspath overrides this to return a CompleteIRClasspath
Constructs an ordered list of JS libraries to include.
Constructs an ordered list of JS libraries to include. Fails if:
Orders and desugars the contained IR.
Orders and desugars the contained IR.
Consider using ScalaJSPackager for a canonical way to do so. It allows to persist the resulting file and create a source map.
A PartialClasspath whose scalaJSCode consists only of IR