alex8088 / electron-vite

Next generation Electron build tooling based on Vite 新一代 Electron 开发构建工具,支持源代码保护
https://electron-vite.org
MIT License
3.57k stars 153 forks source link

build 任务无法结束 #650

Closed shilim-developer closed 4 weeks ago

shilim-developer commented 1 month ago

Describe the bug

vite 配置了 css: { preprocessorOptions: { scss: { api: 'modern-compiler' // or "modern" } } } 之后特定情况build任务无法结束

这个特定情况太诡异了, 我没法实现最小重现,因为可能是同一个vue文件,复制一个一样的,就不会结束了。构建是完成的,但是会一直卡着,所以build:win这些都无法走到electron-builder

image

Electron-Vite Version

2.3.0

Electron Version

31.0.2

Vite Version

5.3.1

Validations

shilim-developer commented 4 weeks ago

用modern