diff --git a/config-overrides.js b/config-overrides.js index 737159b5b..4eb5bc45f 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -85,26 +85,26 @@ module.exports = { fs.copyFileSync(vendorFileSrc, vendorFileDest); } - if (!isDevelopment && process.env.SENTRY_AUTH_TOKEN) { - const SentryWebpackPlugin = require('@sentry/webpack-plugin'); - config.devtool = 'source-map'; - config.plugins.push( - new SentryWebpackPlugin({ - org: 'oraichain', - project: 'oraidex', + // if (!isDevelopment && process.env.SENTRY_AUTH_TOKEN) { + // const SentryWebpackPlugin = require('@sentry/webpack-plugin'); + // config.devtool = 'source-map'; + // config.plugins.push( + // new SentryWebpackPlugin({ + // org: 'oraichain', + // project: 'oraidex', - // Specify the directory containing build artifacts - include: './build', + // // Specify the directory containing build artifacts + // include: './build', - // Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/ - // and needs the `project:releases` and `org:read` scopes - authToken: process.env.SENTRY_AUTH_TOKEN, + // // Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/ + // // and needs the `project:releases` and `org:read` scopes + // authToken: process.env.SENTRY_AUTH_TOKEN, - // Optionally uncomment the line below to override automatic release name detection - release: vendorHash - }) - ); - } + // // Optionally uncomment the line below to override automatic release name detection + // release: vendorHash + // }) + // ); + // } config.plugins.push( new webpack.DllReferencePlugin({