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

bytecodePlugin does not support renderer #657

Open
4 tasks done
oliburn opened this issue Nov 5, 2024 · 1 comment
Open
4 tasks done

bytecodePlugin does not support renderer #657

oliburn opened this issue Nov 5, 2024 · 1 comment

Comments

@oliburn
Copy link

oliburn commented Nov 5, 2024

Describe the bug

I'm using bytecode plugin to build my app (all my app is mainly in the renderer), but I'm encountering a message "bytecodePlugin does not support renderer.". Does this mean that the code inside the renderer is not protected? We can only protect main and preload folders?

vite v5.4.6 building SSR bundle for production...
✓ 2 modules transformed.
out/main/bytecode-loader.cjs 2.31 kB
out/main/index.js 1.72 kB
✓ built in 232ms
✓ 1 bundles compiled into bytecode.
out/main/index.jsc 4.30 kB
vite v5.4.6 building SSR bundle for production...
✓ 1 modules transformed.
out/preload/index.js 0.42 kB
✓ built in 8ms
bytecodePlugin does not support renderer.

Electron-Vite Version

2.3.0

Electron Version

31.0.2

Vite Version

5.3.1

Validations

@Venipa
Copy link

Venipa commented Nov 17, 2024

yes only main & preload is protected

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