Remove Sentry/GlitchTip integration
- main.js: drop @sentry/browser + @sentry/vue init. - webpack.config.prod.js: drop sentryWebpackPlugin (and its dotenv/env plumbing that only served Sentry release/source-map upload). - package.json: remove @sentry/browser, @sentry/vue, @sentry/webpack-plugin. Note: run 'npm install' to update package-lock before the next build.
This commit is contained in:
@@ -6,11 +6,6 @@ const baseConfig = require('./webpack.config.base')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
const TerserPlugin = require("terser-webpack-plugin");
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
|
||||
|
||||
require('dotenv').config();
|
||||
|
||||
// console.log(process.env);
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'production',
|
||||
@@ -75,18 +70,6 @@ module.exports = merge(baseConfig, {
|
||||
},
|
||||
devtool: 'source-map', // Ensure source maps are generated
|
||||
plugins: [
|
||||
sentryWebpackPlugin({
|
||||
org: "figures-libres",
|
||||
project: "materio.com",
|
||||
authToken: process.env.SENTRY_AUTH_TOKEN,
|
||||
url: "https://frontlog.figli.io",
|
||||
release: {
|
||||
name: process.env.RELEASE
|
||||
},
|
||||
// urlPrefix: '~/', // Adjust based on your deployment setup
|
||||
// include: './dist', // Adjust based on your output directory
|
||||
// ignore: ['node_modules', 'build'],
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.NODE_ENV': JSON.stringify('production')
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user