perf: eliminate build-time overhead and add mtime caching#10
Merged
philippminder merged 6 commits intomainfrom Mar 16, 2026
Merged
perf: eliminate build-time overhead and add mtime caching#10philippminder merged 6 commits intomainfrom
philippminder merged 6 commits intomainfrom
Conversation
Scoped packages are private by default on npm registry. publishConfig.access: public is required to publish @supsign/* packages. https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
tsdown v0.21 generates ESM files with .mjs extension instead of .js. Update all package.json exports, main, module and types fields accordingly. https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
- Remove transformInclude/transform hooks (template leftovers running on every module, causing 56% plugin-timing share with no actual purpose) - Skip buildStart in Vite dev mode via isDevServer flag (chokidar watcher already handles regeneration, avoiding double execution on HMR) - Convert sync fs I/O to async fs.promises + Promise.all for parallel reads - Add mtime-based cache: skip regeneration when output is newer than all interface source files https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
652d795 to
d0c0e60
Compare
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.
https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4