Skip to content

Commit ed59bbe

Browse files
committed
chore: comment
1 parent e5b4694 commit ed59bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-rsc/src/browser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function initialize(): void {
2424
})
2525
}
2626

27+
// Vite normalizes `config.base` to have trailing slash, but not for `import.meta.env.BASE_URL`.
2728
// https://github.com/vitejs/vite/blob/27a192fc95036dbdb6e615a4201b858eb64aa075/packages/vite/src/shared/utils.ts#L48-L53
2829
function withTrailingSlash(path: string): string {
2930
if (path[path.length - 1] !== '/') {

0 commit comments

Comments
 (0)