Skip to content

Commit cff2fcd

Browse files
authored
feat: generate inline sourcemaps for bundled vite.config.js files (#3949)
1 parent 2012b0b commit cff2fcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ async function bundleConfigFile(
831831
platform: 'node',
832832
bundle: true,
833833
format: mjs ? 'esm' : 'cjs',
834+
sourcemap: 'inline',
834835
metafile: true,
835836
plugins: [
836837
{

0 commit comments

Comments
 (0)