Commit 9d636d5b by 张立顺

feat 配置优化修改

1 parent fb238811
...@@ -14,16 +14,12 @@ ...@@ -14,16 +14,12 @@
"report": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --report" "report": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --report"
}, },
"dependencies": { "dependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "7.13.12",
"@sentry/browser": "^7.12.1", "@sentry/browser": "^7.12.1",
"@sentry/integrations": "^7.12.1", "@sentry/integrations": "^7.12.1",
"@sentry/tracing": "^7.3.0", "@sentry/tracing": "^7.3.0",
"@sentry/vue": "^7.3.0", "@sentry/vue": "^7.3.0",
"@sentry/webpack-plugin": "^1.18.9",
"ali-oss": "^6.22.0", "ali-oss": "^6.22.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"baseline-browser-mapping": "^2.9.13",
"better-scroll": "^1.15.2", "better-scroll": "^1.15.2",
"bignumber.js": "^9.1.1", "bignumber.js": "^9.1.1",
"caniuse-lite": "^1.0.30001763", "caniuse-lite": "^1.0.30001763",
...@@ -39,26 +35,22 @@ ...@@ -39,26 +35,22 @@
"glsk-oss-jssdk": "^1.0.6", "glsk-oss-jssdk": "^1.0.6",
"glsk-toolkit": "^1.0.5", "glsk-toolkit": "^1.0.5",
"glsx-common-sdk": "^0.3.0", "glsx-common-sdk": "^0.3.0",
"hash.js": "^1.0.0",
"hotkeys-js": "^3.6.2", "hotkeys-js": "^3.6.2",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"jspdf": "^2.5.1",
"lodash": "^4.17.23", "lodash": "^4.17.23",
"lodash-es": "^4.17.22", "lodash-es": "^4.17.22",
"lowdb": "^1.0.0", "lowdb": "^1.0.0",
"nanoid": "^5.1.6", "nanoid": "^5.1.6",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"number-precision": "^1.6.0", "number-precision": "^1.6.0",
"print-js": "^1.6.0",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"qs": "^6.8.0", "qs": "^6.8.0",
"rfdc": "^1.3.0", "rfdc": "^1.3.0",
"screenfull": "^4.2.0", "screenfull": "^4.2.0",
"sha1": "^1.1.1", "sha1": "^1.1.1",
"sortablejs": "^1.15.6", "sortablejs": "^1.15.6",
"speed-measure-webpack-plugin": "^1.5.0",
"svg-sprite-loader": "^6.0.11", "svg-sprite-loader": "^6.0.11",
"ua-parser-js": "^0.7.19", "ua-parser-js": "^0.7.19",
"vue": "^2.6.10", "vue": "^2.6.10",
...@@ -68,13 +60,14 @@ ...@@ -68,13 +60,14 @@
"vuex": "^3.0.1", "vuex": "^3.0.1",
"wangeditor": "4.7.15", "wangeditor": "4.7.15",
"webpack-theme-color-replacer": "^1.4.2", "webpack-theme-color-replacer": "^1.4.2",
"webpack5-svg-sprite-loader": "^5.1.1", "xlsx": "^0.16.9"
"xlsx": "^0.16.9",
"yarn": "^1.22.19"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^6.7.3", "@antfu/eslint-config": "^6.7.3",
"@babel/core": "^7.12.16", "@babel/core": "^7.12.16",
"@sentry/webpack-plugin": "^1.18.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "7.13.12",
"@kazupon/vue-i18n-loader": "^0.4.1", "@kazupon/vue-i18n-loader": "^0.4.1",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/cli-plugin-babel": "~5.0.8", "@vue/cli-plugin-babel": "~5.0.8",
...@@ -94,6 +87,7 @@ ...@@ -94,6 +87,7 @@
"sass": "~1.62.0", "sass": "~1.62.0",
"sass-loader": "^7.3.1", "sass-loader": "^7.3.1",
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
"speed-measure-webpack-plugin": "^1.5.0",
"vue-template-compiler": "^2.5.21", "vue-template-compiler": "^2.5.21",
"webpack": "^5.74.0" "webpack": "^5.74.0"
}, },
......
...@@ -38,6 +38,8 @@ process.env.NODE_ENV === "production" ...@@ -38,6 +38,8 @@ process.env.NODE_ENV === "production"
&& Sentry.init({ && Sentry.init({
Vue, Vue,
dsn: "https://39bc80d3bb0a419a8d7d9bf5a39678e3@sentry.glsx.com.cn/24", dsn: "https://39bc80d3bb0a419a8d7d9bf5a39678e3@sentry.glsx.com.cn/24",
// 与 vue.config 中 SentryWebpackPlugin.release 一致,sourcemap 才能正确解析栈
release: process.env.VUE_APP_VERSION,
// dsn: 'http://6225fb8e73fb453a8455a9371f3517da@192.168.3.115:9000/4', // dsn: 'http://6225fb8e73fb453a8455a9371f3517da@192.168.3.115:9000/4',
integrations: [ integrations: [
new BrowserTracing({ new BrowserTracing({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!