diff --git a/packages/vite/src/node/config.ts b/packages/vite/src/node/config.ts index 0f0e91651af9af..283ac9649ccfaf 100644 --- a/packages/vite/src/node/config.ts +++ b/packages/vite/src/node/config.ts @@ -831,6 +831,7 @@ async function bundleConfigFile( platform: 'node', bundle: true, format: mjs ? 'esm' : 'cjs', + sourcemap: 'inline', metafile: true, plugins: [ {