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 e1a85e9 commit 7000908Copy full SHA for 7000908
packages/vite/src/node/config.ts
@@ -1721,7 +1721,7 @@ async function bundleConfigFile(
1721
mainFields: ['main'],
1722
sourcemap: 'inline',
1723
// the last slash is needed to make the path correct
1724
- sourceRoot: pathToFileURL(path.dirname(fileName)).href + '/',
+ sourceRoot: path.dirname(fileName) + '/',
1725
metafile: true,
1726
define: {
1727
__dirname: dirnameVarName,
0 commit comments