a list of input resources that were bundled into this resource (by esbuild), or were chunked by esbuild for this resource.
a list of resource imports that were included in the build for this resource. these, however, are not currently bundled into the contents of your resource; they're still external resources that your transformed file will need to reference (re-incorporate) in order to import during runtime.
a list of output files paths that import this resource entity. these reflect the importer resource's outputPath.
the transformed and/or bundled content that may need to have the linked imports re-incorporated into it.
specifies if this output entity is marked to be written.
this value is initially true by default, but if this entity had been previously re-emitted by an onEmit hook,
then the value here will reflect the write state specified in the prior onEmit hook's result (i.e. OnEmitResult.write).
Optionalreif this resource has been re-emitted by a prior onEmit handler,
then it is possible for that handler to have inserted some kind of additional contextual information into this record field.
read more about it in OnEmitResult.reEmitData.
the output path of this bundled resource, relative to the
cwdorabsWorkingDir(not theoutdirdirectory!), and always in posix format.TODO: I actually don't provide a relative path right now. but should I even?