Skip to content

Commit f90734e

Browse files
committed
chore: revert and see if windows ci fails
1 parent 901c6cb commit f90734e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/plugin-rsc/src/plugins/find-source-map-url.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
type ViteDevServer,
77
} from 'vite'
88
import fs from 'node:fs'
9-
import { slash } from './vite-utils'
109

1110
//
1211
// support findSourceMapURL
@@ -53,7 +52,7 @@ async function findSourceMapURL(
5352
): Promise<object | undefined> {
5453
// this is likely server external (i.e. outside of Vite processing)
5554
if (filename.startsWith('file://')) {
56-
filename = slash(fileURLToPath(filename))
55+
filename = fileURLToPath(filename)
5756
if (
5857
isFileLoadingAllowed(server.config, filename) &&
5958
fs.existsSync(filename)

0 commit comments

Comments
 (0)