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 plugin leaks .env #3377

Closed
3 tasks done
PascalPixel opened this issue Oct 8, 2023 · 2 comments
Closed
3 tasks done

Vite plugin leaks .env #3377

PascalPixel opened this issue Oct 8, 2023 · 2 comments

Comments

@PascalPixel
Copy link

PascalPixel commented Oct 8, 2023

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

6.4.2

Electron version

26.3.0

Operating system

macOS 14.0

Last known working Electron Forge version

Expected behavior

For the default vite-typescript template not to include all source code and private .env file

Actual behavior

The default vite-typescript template includes all source code and private .env file

Steps to reproduce

  • npm init electron-app@latest electron-forge-vite-typescript -- --template=vite-typescript
  • cd electron-forge-vite-typescript
  • touch .env
  • Set asar: false in forge.config.ts
  • npm make
  • Screenshot 2023-10-09 at 00 39 58

Additional information

Fix might be in progress #3336

@caoxiemeihao
Copy link
Member

Fixed in #3336

@caoxiemeihao
Copy link
Member

Fixed in #3336

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

No branches or pull requests

3 participants