Skip to content

Vite plugin leaks .env #3377

Closed
Closed

Description

@PascalPixel

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

Activity

  1. caoxiemeihao commented on Jan 17, 2024

    @caoxiemeihao
    Member

    Fixed in #3336

  2. caoxiemeihao commented on Jan 17, 2024

    @caoxiemeihao
    Member

    Fixed in #3336

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions