Skip to content

feat: add buildOnce hook to execute 'nr update'#22

Merged
antfu merged 1 commit into
antfu:mainfrom
conorzhong:main
Nov 27, 2025
Merged

feat: add buildOnce hook to execute 'nr update'#22
antfu merged 1 commit into
antfu:mainfrom
conorzhong:main

Conversation

@conorzhong

Copy link
Copy Markdown
Contributor

Description

Add a tsdown build:prepare hook for exec "nr update" without the ext runonsave's help.

Linked Issues

Additional context

When package.json changes, tsdown will restart, so can't use watchChange and finally choose to use hookOnce here.

@antfu antfu merged commit 067d366 into antfu:main Nov 27, 2025
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants