From cff2fcd8db98bb1c046816fd2e01dcbffbe86629 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Fri, 25 Jun 2021 10:43:22 -0400 Subject: [PATCH] feat: generate inline sourcemaps for bundled vite.config.js files (#3949) --- packages/vite/src/node/config.ts | 1 + 1 file changed, 1 insertion(+) 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: [ {