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

0.4.7 breaks absolute paths #10

Closed
mjsmagalhaes opened this issue Jun 6, 2022 · 4 comments
Closed

0.4.7 breaks absolute paths #10

mjsmagalhaes opened this issue Jun 6, 2022 · 4 comments

Comments

@mjsmagalhaes
Copy link

using absolute paths as entry (both main and preload) used to work until 0.4.5 but now breaks after 0.4.7 upgrade.

@caoxiemeihao
Copy link
Member

caoxiemeihao commented Jun 6, 2022

😅 Can I see your project structure? and can you provide a demo?


You can try explicitly specify build.outDir for avoid the BUG 🐞

@mjsmagalhaes
Copy link
Author

https://gitlab.com/mjsmagalhaes/demo-vite-electron

As it is version 0.4.7 will install and fail to build.

cd game
npx vite build

to check. If will rollback to version 0.4.5 and run again it will build without a problem.

@caoxiemeihao caoxiemeihao mentioned this issue Jun 8, 2022
@caoxiemeihao
Copy link
Member

caoxiemeihao commented Jun 8, 2022

Now, you can try to use vite-plugin-electron v0.4.8 to resolve the BUG 🐞

@mjsmagalhaes
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants