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打包后白屏 #199

Open
zhang8h opened this issue Apr 20, 2024 · 3 comments
Open

vite打包后白屏 #199

zhang8h opened this issue Apr 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zhang8h
Copy link

zhang8h commented Apr 20, 2024

bug 描述(Describe the bug)

使用vite5.1.6打包,开启如下设置后白屏
esbuild: {
drop: ['console'],
},

ezuikit-js 版本:8.0.4-beta.1

@freeshineit
Copy link
Collaborator

bug 描述(Describe the bug)

使用vite5.1.6打包,开启如下设置后白屏 esbuild: { drop: ['console'], },

ezuikit-js 版本:8.0.4-beta.1

可以提供一下具体报错信息吗

@zhang8h
Copy link
Author

zhang8h commented Apr 22, 2024

打包后去掉了 console 所以看不到报错信息了,排查原因时就放开了console,发现放开console后就正常了

@freeshineit freeshineit added the bug Something isn't working label Apr 22, 2024
@freeshineit
Copy link
Collaborator

evanw/esbuild#4020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants