Skip to content

Conversation

@FynniX
Copy link

@FynniX FynniX commented Apr 3, 2024

Description

Instead of forcing a base of './' in production it now allows the user to decide via config.
Fixes #466

Additional context

This is needed for example for prerendering in preact where each route has its own html file


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

@alex8088
Copy link
Owner

alex8088 commented Apr 4, 2024

base option should not be set in production. More details: https://vitejs.dev/config/shared-options.html#base. In production, we use file protocol to load page.

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.

Base variable gets ignored

2 participants