[`emitFile`](https://rollupjs.org/guide/en/#thisemitfile) is supposed to a return a `referenceId` which can be used to import/export the file in other files. unplugin seems to not return anything (even the typescript type is `void`). https://github.com/unjs/unplugin/blob/61feea6f30cd5f1bfde420212e75410b63d293ee/src/types.ts#L22 Is there a different way to get the referenceId?
Activity
ilteoood commentedon Jan 8, 2023
emitFileseems to work with bothviteandrollup, but withwebpackthe result is undefined.lishaobos commentedon Feb 2, 2023
same question
deminearchiver commentedon Jul 10, 2024
Bumping this. I also want this API