Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
macOS packaging on main exhausted Vite's approximately 2 GiB heap while transforming the renderer. Build the main, PowerPoint, Word, and Excel pages sequentially in fresh Vite processes, and enable the Jotai debug/HMR Babel plugins only during development.
Each production page writes its assets and workers under
assets/<entry>/. The orchestrator cleans output once and preserves the sibling HTML entry points expected by Electron. Update font license discovery to recurse through the new asset folders and deduplicate copied KaTeX fonts. Keep source maps for license collection.The first three pages pass with a 2 GiB heap. Excel still exceeds that limit when built alone, so its build subprocess defaults to 4 GiB. Explicit caller limits in
NODE_OPTIONStake precedence. These budgets do not change the installed application's runtime heap.Validation:
git diff --checkpassed.Full installer packaging and application installation have not been rerun. The change does not refactor the editor modules; further reducing Excel's heap requirement would require additional dependency/worker work.