44 lines
1.9 KiB
Diff
44 lines
1.9 KiB
Diff
diff --git a/package.json b/package.json
|
|
index 02a59ee45..b5dd89a2f 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -101,7 +101,6 @@
|
|
"@babel/runtime": "^7.12.5",
|
|
"@casualbot/jest-sonar-reporter": "^2.2.5",
|
|
"@principalstudio/html-webpack-inject-preload": "^1.2.7",
|
|
- "@sentry/webpack-plugin": "^2.0.0",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"@testing-library/react": "^12.1.5",
|
|
"@types/jest": "^29.0.0",
|
|
diff --git a/webpack.config.js b/webpack.config.js
|
|
index 514bf32d0..a17a561b7 100644
|
|
--- a/webpack.config.js
|
|
+++ b/webpack.config.js
|
|
@@ -8,7 +8,6 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
const TerserPlugin = require("terser-webpack-plugin");
|
|
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
|
|
const HtmlWebpackInjectPreload = require("@principalstudio/html-webpack-inject-preload");
|
|
-const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
|
|
const crypto = require("crypto");
|
|
|
|
// XXX: mangle Crypto::createHash to replace md4 with sha256, output.hashFunction is insufficient as multiple bits
|
|
@@ -658,18 +657,6 @@ module.exports = (env, argv) => {
|
|
files: [{ match: /.*Inter.*\.woff2$/ }],
|
|
}),
|
|
|
|
- // upload to sentry if sentry env is present
|
|
- process.env.SENTRY_DSN &&
|
|
- sentryWebpackPlugin({
|
|
- release: process.env.VERSION,
|
|
- sourcemaps: {
|
|
- paths: "./webapp/bundles/**",
|
|
- },
|
|
- errorHandler: (err, invokeErr, compilation) => {
|
|
- compilation.warnings.push("Sentry CLI Plugin: " + err.message);
|
|
- console.log(`::warning title=Sentry error::${err.message}`);
|
|
- },
|
|
- }),
|
|
new webpack.EnvironmentPlugin(["VERSION"]),
|
|
].filter(Boolean),
|
|
|