Passing data from module hook to plugin
I have a module and need to resolve some data in the
I then need to access this data in a server plugin in the
Normally I would pass this data via the runtimeConfig, but I can't in this instance because
Does anyone know how I can approach/resolve this? Thanks!
build:manifest hook, namely some resource information (name and file).I then need to access this data in a server plugin in the
app:rendered hook, so I can alter some ssrContext head entries.Normally I would pass this data via the runtimeConfig, but I can't in this instance because
addPlugin is called before the first hook has executed, and any config that plugin has access to will have already been resolved.Does anyone know how I can approach/resolve this? Thanks!
