the absolute output path of the file.
Optionaltexta "text" rendering of the contents property, which changes automatically with any modifications to the contents.
I'm not certain how it works under the hood, but I assume that it relies on checking for a new assignment (in its setter function),
and only then updates the text accordingly.
if that is the case, then mutations to the contents buffer itself will not result in the text being updated.
instead, we will have to assign a new array buffer to the contents property for the effect to take place.
Optionalcontentsthe contents of the file to be written as a byte buffer. this is the single source of truth. the text property is merely a reflection of this property.
TODO: this should ideally be set to Uint8Array<ArrayBuffer> instead of just Uint8Array,
however, the typing on esbuild.OutputFile.contents still uses Uint8Array, causing type incompatibility issues.
once esbuild has the typing fixed, I should update the type definition here as well.
Optionalhashthe (unique?) hash generated for this output file by esbuild.
the in-memory output file description generated by
esbuild. weakly similar toesbuild.OutputFile.