### Pre-flight checklist - [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses. - [X] 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` - <img width="355" alt="Screenshot 2023-10-09 at 00 39 58" src="https://github.com/electron/forge/assets/3094044/ea863283-22cc-4871-a303-5a0a8af650e9"> ### Additional information Fix might be in progress https://github.com/electron/forge/pull/3336
Activity
caoxiemeihao commentedon Jan 17, 2024
Fixed in #3336
caoxiemeihao commentedon Jan 17, 2024
Fixed in #3336