You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a vite plugin that generates a manifest of all the files in the output directory. I'm currently using the generateBundle hook and reading the file names from the bundle arg, but it doesn't include stuff under public. Is there a different hook I should be using, or is it okay to manually read the public dir from within my plugin?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a vite plugin that generates a manifest of all the files in the output directory. I'm currently using the generateBundle hook and reading the file names from the
bundle
arg, but it doesn't include stuff underpublic
. Is there a different hook I should be using, or is it okay to manually read thepublic
dir from within my plugin?Beta Was this translation helpful? Give feedback.
All reactions