Skip to content

How can i use like Pre Build Hooks ? #1351

Closed Answered by brc-dd
Zhengqbbb asked this question in Q&A
Discussion options

You must be logged in to vote

It should be possible using custom vite plugin -- create one with a transform hook, check if id is your file, then fetch data and update it. I don't have a demo right now. But I'll try to create one. It should be straightforward IG.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Zhengqbbb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants