chore: enable source map on production (#6731)
This commit is contained in:
@@ -409,7 +409,6 @@ export const createConfiguration: (
|
|||||||
} satisfies webpack.Configuration;
|
} satisfies webpack.Configuration;
|
||||||
|
|
||||||
if (buildFlags.mode === 'production' && process.env.PERFSEE_TOKEN) {
|
if (buildFlags.mode === 'production' && process.env.PERFSEE_TOKEN) {
|
||||||
config.devtool = 'hidden-nosources-source-map';
|
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new PerfseePlugin({
|
new PerfseePlugin({
|
||||||
project: 'affine-toeverything',
|
project: 'affine-toeverything',
|
||||||
|
|||||||
Reference in New Issue
Block a user