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

Vite 2.7.x Pre-bundling is 4 times slower than Vite 2.6.14 #6287

Closed
7 tasks done
jerryYuX opened this issue Dec 28, 2021 · 1 comment
Closed
7 tasks done

Vite 2.7.x Pre-bundling is 4 times slower than Vite 2.6.14 #6287

jerryYuX opened this issue Dec 28, 2021 · 1 comment

Comments

@jerryYuX
Copy link

Describe the bug

the Pre-bundling is very slow in Vite 2.7.x.
For example:
2.6.14
2.6.14
2.7.8
2.7.8

Reproduction

https://github.com/asurraa-lab/react-vite2-ts-antd

System Info

System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.89 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.18.3/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v12.18.3/bin/npm
  Browsers:
    Chrome: 96.0.4664.110
    Edge: 90.0.818.56
    Firefox: 91.0
    Safari: 14.1.2
  npmPackages:
    @vitejs/plugin-react: ^1.1.3 => 1.1.3
    @vitejs/plugin-react-refresh: ^1.3.1 => 1.3.6
    vite: 2.6.14 => 2.6.14

Used Package Manager

npm

Logs

No response

Validations

@jerryYuX jerryYuX changed the title VIte 2.7.x Pre-bundling is 4 times slow than Vite 2.6.14 VIte 2.7.x Pre-bundling is 4 times slower than Vite 2.6.14 Dec 28, 2021
@jerryYuX jerryYuX changed the title VIte 2.7.x Pre-bundling is 4 times slower than Vite 2.6.14 Vite 2.7.x Pre-bundling is 4 times slower than Vite 2.6.14 Dec 28, 2021
@Niputi
Copy link
Contributor

Niputi commented Dec 28, 2021

duplicate of #6030

@Niputi Niputi closed this as completed Dec 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants