56 lines
2.0 KiB
Diff
56 lines
2.0 KiB
Diff
From 464305f785b65f7b2e552fb449bb7d230e9b0715 Mon Sep 17 00:00:00 2001
|
|
From: q66 <daniel@octaforge.org>
|
|
Date: Sat, 11 Dec 2021 21:22:44 +0100
|
|
Subject: [PATCH] remove dependency on sentry
|
|
|
|
This is unused and breaks ppc64 because it downlaods binaries.
|
|
---
|
|
package.json | 1 -
|
|
webpack.config.js | 11 -----------
|
|
2 files changed, 12 deletions(-)
|
|
|
|
diff --git a/package.json b/package.json
|
|
index 89c0ba12e..c31f84fad 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -88,7 +88,6 @@
|
|
"@babel/register": "^7.12.10",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@principalstudio/html-webpack-inject-preload": "^1.2.7",
|
|
- "@sentry/webpack-plugin": "^1.18.1",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"@types/flux": "^3.1.9",
|
|
"@types/jest": "^28.0.0",
|
|
diff --git a/webpack.config.js b/webpack.config.js
|
|
index 8d1f27330..b56a11566 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 SentryCliPlugin = require("@sentry/webpack-plugin");
|
|
|
|
dotenv.config();
|
|
let ogImageUrl = process.env.RIOT_OG_IMAGE_URL;
|
|
@@ -626,16 +625,6 @@ module.exports = (env, argv) => {
|
|
files: [{ match: /.*Inter.*\.woff2$/ }],
|
|
}),
|
|
|
|
- // upload to sentry if sentry env is present
|
|
- process.env.SENTRY_DSN &&
|
|
- new SentryCliPlugin({
|
|
- release: process.env.VERSION,
|
|
- include: "./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),
|
|
|
|
--
|
|
2.37.2
|
|
|