Commit 01156d3c authored by 郝聪敏's avatar 郝聪敏

fix: sentry map文件仅支持prod环境上传

parent feb76bd9
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" style="font-size: 37.5px;"> <html lang="en" style="font-size: 37.5px;">
<head> <head>
<title>低代码平台1</title> <title>低代码平台</title>
<meta name="keywords"> <meta name="keywords">
<meta name="description"> <meta name="description">
<meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta http-equiv="content-type" content="text/html;charset=utf-8">
......
...@@ -62,6 +62,7 @@ module.exports = { ...@@ -62,6 +62,7 @@ module.exports = {
{ imagemini: false }, { imagemini: false },
{ {
sentry: { sentry: {
env: ['prod'],
name: 'webpack-sentry-plugin', name: 'webpack-sentry-plugin',
args: SentryConfig args: SentryConfig
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment