We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901c6cb commit f90734eCopy full SHA for f90734e
packages/plugin-rsc/src/plugins/find-source-map-url.ts
@@ -6,7 +6,6 @@ import {
6
type ViteDevServer,
7
} from 'vite'
8
import fs from 'node:fs'
9
-import { slash } from './vite-utils'
10
11
//
12
// support findSourceMapURL
@@ -53,7 +52,7 @@ async function findSourceMapURL(
53
52
): Promise<object | undefined> {
54
// this is likely server external (i.e. outside of Vite processing)
55
if (filename.startsWith('file://')) {
56
- filename = slash(fileURLToPath(filename))
+ filename = fileURLToPath(filename)
57
if (
58
isFileLoadingAllowed(server.config, filename) &&
59
fs.existsSync(filename)
0 commit comments