'Post build' Hook #1335
alexcibotari
started this conversation in
Ideas
Replies: 2 comments
-
There's a hook in analog({
nitro: {
hooks: {
"prerender:done": ({ prerenderedRoutes }) => {
console.log(prerenderedRoutes);
}
}
}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue is, that they will not run during: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which scope/s are relevant/related to the feature request?
vite-plugin-angular
Information
As a developer, I need a hook at the end of the build when all pages are rendered, and I can access them to create the index for search. At the moment Analog exposes
postRenderingHooks
after each page render. this is not enough to create a site search index, like a sitemap, where content for each page will be also available. or at least a hook with all generated paths, and I can traverse by my self.Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue
Beta Was this translation helpful? Give feedback.
All reactions