v1.0.0
🚀 Features
- Make startup() resolve the Electron package more robustly from the app/project root instead of assuming a single resolution path - by @subframe7536 and @Stanzilla (cd995)
- Mark main/preload build platform to
nodeby default - by @subframe7536 and @Stanzilla (7d707) - Startup in
onStartfollows vite root config, correct startupFn type - by @subframe7536 and Copilot (6e088) - Add environment api support, refactor and enhance plugin factory - by @subframe7536 and Copilot in #300 (8d13a)
- Optimize default external list - by @subframe7536 (67f30)
- Environment variable support for startup args - by @subframe7536 (6a36a)
- EsmShim plugin - by @subframe7536 (0b586)
- Compat vite < 8 - by @subframe7536 (4802b)
- Controllable startup #290 - by @subframe7536 in #290 (3147f)
- multi-env:
- Expose
electronSimple- by @subframe7536 and Copilot (41407)
- Expose
- notBundle:
- Auto detect development environment - by @subframe7536 (3bab3)
- Customizable enable condition - by @subframe7536 (b303d)
- Enhance external dependency handling for development and production, remove
enableoption introduced in last release - by @subframe7536 (8a273) - Expose default external behavior - by @subframe7536 (bc57e)
🐞 Bug Fixes
- Handle already-exited process on Windows during hot reload - by @kabledev in #297 (379f0)
- Migrate deprecated inlineDynamicImports to codeSplitting - by @subframe7536 (609ab)
- Update version check for Vite compatibility in rolldownOptions - by @subframe7536 (469dc)
- Clear mock index.html after building complete - by @subframe7536 (95cb7)
- Always cleanup mock html - by @subframe7536 and Copilot (44633)
- Add missing
original-fs- by @subframe7536 and Copilot (47fee) - Only build electron environments - by @subframe7536 (411cd)
- Improve error message for duplicate environment names and keep option array order for building environments - by @subframe7536 (09502)
- Update build options handling and ensure state isolation in simpleOptions - by @subframe7536 (a8173)
- Enhance resolveBuiltinExternals to support node protocol matching - by @subframe7536 (58874)
- multi-env: Bundle deps in build mode - by @subframe7536 (f38af)
- simple: Fallback codesplitting for rollup - by @subframe7536 (c0690)