Expose the RenderedChunk
typing for plugin authors to more easily consume
#11324
Closed
4 tasks done
Labels
Description
I've been working on adding some functionality via a plugin to inject generated CSS via JS per file, and have found that the
viteMetadata
prop on theOutputChunk
type (presumably now aRenderedChunk
is perfect for leveraging to do this, however it feels a bit dodgy to access it withany
.https://github.com/vitejs/vite/blob/main/packages/vite/src/node/index.ts#L144
Suggested solution
Is this type meant to be used? Is it stable? Is it meant to be exported already?
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: