Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssr field will be omitted and scan will be true when vite does its #11952

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Sep 3, 2024

  1. ssr field will be omitted and scan will be true when vite does its

    client dep optimization pass for local dev
    
    in that case, the module graph is treated like a client-module graph
    without any transforms, so we need to disable the `.server` detection
    during deps discovery
    
    in the future, it would be better to have separate module graphs for
    client and server without requiring transforms so that this all works
    with Vite out-of-the-box and server dependencies are not optimized for
    use by the client
    pcattori committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    fcd11ad View commit details
    Browse the repository at this point in the history