Skip to content

Commit

Permalink
chore: enable source map on production (#6731)
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Apr 29, 2024
1 parent 301d517 commit 1d3c477
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/cli/src/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1d3c477

Please sign in to comment.