Pre-flight checklist
Electron Forge version
7.1.0
Electron version
v27.1.0
Operating system
macOS 14.1.1 (23B81)
Last known working Electron Forge version
No response
Expected behavior
After yarn package, I can find the app.asar file in XXX.app/Contents/Resources
Actual behavior
app.asar is gone and the app folder exists but the folder include everything, for example the whole node_modules

Steps to reproduce
npm init electron-app@latest demo -- --template=vite-typescript
cd demo
yarn package
ls out/demo-darwin-arm64/demo.app/Contents/Resources/
Additional information
If I create code base by the webpack-typescript template, it is ok.
Pre-flight checklist
Electron Forge version
7.1.0
Electron version
v27.1.0
Operating system
macOS 14.1.1 (23B81)
Last known working Electron Forge version
No response
Expected behavior
After yarn package, I can find the app.asar file in XXX.app/Contents/Resources
Actual behavior
app.asar is gone and the app folder exists but the folder include everything, for example the whole node_modules

Steps to reproduce
npm init electron-app@latest demo -- --template=vite-typescript
cd demo
yarn package
ls out/demo-darwin-arm64/demo.app/Contents/Resources/
Additional information
If I create code base by the webpack-typescript template, it is ok.