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

fix: port the latest defineConfig type from vite #3804

Merged
merged 2 commits into from Jul 28, 2023

Commits on Jul 24, 2023

  1. fix: port the latest defineConfig type from vite

    Ported from vitejs/vite#13792
    
    Fully fixes issues like vuejs/create-vue#317
    and vuejs/create-vue#313
    
    For an easy reproduction, please refer to https://github.com/sodatea/viteste-define-config-bug-repro
    
    I didn't include a test in this PR because:
    
    1. The reproduction is a bit complicated, it only fails on the very
    latest Vite versions, but updating Vite would mess up the lockfile.
    2. By not updating the dependencies, we can make sure that this fix is
    compatible with older versions of Vite, too.
    sodatea committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    8bbf161 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    be033b3 View commit details
    Browse the repository at this point in the history