[Nuxt Integration] Return dynamicDeps
in transformRequest
#4898
Labels
enhancement
New feature or request
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
Clear and concise description of the problem
In Nuxt, we are trying to use Vite Server for generating the SSR bundle on-demand instead of build with watcher - to align with the client behavior and get the perfance juice. We use a custom script with
server.transformRequest
to construct the bundle, currently we are facing an problem that dynamic depdenencies are not included in thedeps
array of the transform result.Related: nuxt/vite#201 (comment)
Suggested solution
Return
dynamicDeps
list fortransformRequest
Alternative
No response
Additional context
Current workaround:
Validations
The text was updated successfully, but these errors were encountered: