Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
fix: 移除sentry配置,暂时不需要
Browse files Browse the repository at this point in the history
  • Loading branch information
virgoone committed Jun 27, 2020
1 parent ceb8dad commit 4bc8cc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/variables/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!process.env.APP_ENV) {
const { APP_ENV } = process.env
const APP_NAME = require(require.resolve(getProjectFilePath('package.json')))
.name
let PUBLIC_PATH = '/'
const PUBLIC_PATH = '/'
let GIT_COMMIT_SHA = 'N/A'
let __DEV__ = process.env.NODE_ENV === 'development'

Expand Down
8 changes: 0 additions & 8 deletions src/webpack/webpack.config.build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require('path')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const TerserPlugin = require('terser-webpack-plugin')
const WebpackSentryPlugin = require('@sentry/webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
const safePostCssParser = require('postcss-safe-parser')
Expand All @@ -22,13 +21,6 @@ module.exports = () =>
filename: '[file].map',
publicPath: PUBLIC_PATH,
}),
new WebpackSentryPlugin({
// Sentry options are required
include: 'dist',
ignore: ['node_modules'],
release: SENTRY_RELEASE,
urlPrefix: PUBLIC_PATH,
}),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
Expand Down

0 comments on commit 4bc8cc6

Please sign in to comment.