Skip to content
Source
Sign inSign up
TanStack/router

fix: prevent HMR to throw error about entrypoints #5317

Mergedschiller-manuel(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5317/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 1 changed file with 2 additions and 2 deletions.

x
0 of 1 viewed, 1 left
2 additions and 2 deletionspackages/start-plugin-core/src/constants.tsModified
View file
@@ -12,8 +12,8 @@
// if a user has a custom server/client entry point file, resolve.alias will point to this
// otherwise it will be aliased to the default entry point in the respective framework plugin
export const ENTRY_POINTS = {
- client: '__tanstack-start-client-entry__',
- server: '__tanstack-start-server-entry__',
+ client: 'virtual:tanstack-start-client-entry',
+ server: 'virtual:tanstack-start-server-entry',
// the start entry point must always be provided by the user
start: '#tanstack-start-entry',
router: '#tanstack-router-entry',