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 some bug in v0.8.4 #51

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Commits on Aug 7, 2022

  1. 1. feat: add VITE_DEV_SERVER_URL to electron

    process env, so that it is easier to use
    
    2. fix(🐞): VITE_DEV_SERVER_HOST cannot be used directly when
    VITE_DEV_SERVER_HOST is a ipv6 address or
    vite config `server.host` is true
    
    3. fix(🐞): use vite config `mode` as default build
    mode to avoid build mode not equal to vite config `mode` when
    vite config `mode` !== 'development' which would lead to render env
    not equal to electron main or preload
    
    4. fix(🐞): build electron output after render to avoid the electron
    output being deleted when the vite config emptyOutDir
    is `true` and the vite command is `build`
    
    5. fix(🐞): use `closeBundle` to replace `writeBundle`, because in
    extreme cases, an error will be reported. For example,
    `can't find preload module` will occur as an error
    when `preload` update frequently
    xiaohui committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    ddab2d8 View commit details
    Browse the repository at this point in the history