From 1d3c477c657fe70fe989e61be06461f0d1351938 Mon Sep 17 00:00:00 2001 From: EYHN Date: Mon, 29 Apr 2024 09:42:35 +0000 Subject: [PATCH] chore: enable source map on production (#6731) --- tools/cli/src/webpack/config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/cli/src/webpack/config.ts b/tools/cli/src/webpack/config.ts index fb25a9675..082cddecf 100644 --- a/tools/cli/src/webpack/config.ts +++ b/tools/cli/src/webpack/config.ts @@ -409,7 +409,6 @@ export const createConfiguration: ( } satisfies webpack.Configuration; if (buildFlags.mode === 'production' && process.env.PERFSEE_TOKEN) { - config.devtool = 'hidden-nosources-source-map'; config.plugins.push( new PerfseePlugin({ project: 'affine-toeverything',