Skip to content

Fix alternative index.html path#37

Open
JoviDeCroock wants to merge 1 commit intomasterfrom
fix-alternative-index-html
Open

Fix alternative index.html path#37
JoviDeCroock wants to merge 1 commit intomasterfrom
fix-alternative-index-html

Conversation

@JoviDeCroock
Copy link
Copy Markdown
Member

Fixes #36

When the html entry file is at a different position the path will be different, this fixes that case by looking through the assets to find it.

Copy link
Copy Markdown
Member

@rschristian rschristian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers, appreciate it

Comment thread src/plugins/prerender-plugin.js Outdated
Comment thread src/plugins/prerender-plugin.js
Comment thread src/plugins/prerender-plugin.js Outdated
@JoviDeCroock JoviDeCroock force-pushed the fix-alternative-index-html branch from 96769c2 to e22ac1a Compare April 22, 2026 03:12
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.

TypeError: Cannot read properties of undefined (reading 'source')

2 participants