11import Vue from 'vue'
2+ import './plugins/toMobile.js'
23import VueProgressBar from 'vue-progressbar'
34import './plugins/axios'
45import App from './App.vue'
@@ -11,17 +12,17 @@ import './plugins/element.js'
1112import moment from 'moment'
1213import './style/common.scss'
1314import AsideAd from '@/components/AsideAd.vue'
14- import * as Sentry from '@sentry/browser'
15- import { Vue as VueIntegration } from '@sentry/integrations'
15+ // import * as Sentry from '@sentry/browser'
16+ // import { Vue as VueIntegration } from '@sentry/integrations'
1617
17- if ( process . env . NODE_ENV === 'production' ) {
18- Sentry . init ( {
19- dsn : 'https://53e44732a0fd4c398fe614fd058f1668@o412908.ingest.sentry.io/5296080' ,
20- release : process . env . RELEASE_VERSION ,
21- environment : process . env . NODE_ENV ,
22- integrations : [ new VueIntegration ( { Vue, attachProps : true , logErrors : true } ) ]
23- } )
24- }
18+ // if (process.env.NODE_ENV === 'production') {
19+ // Sentry.init({
20+ // dsn: 'https://53e44732a0fd4c398fe614fd058f1668@o412908.ingest.sentry.io/5296080',
21+ // release: process.env.RELEASE_VERSION,
22+ // environment: process.env.NODE_ENV,
23+ // integrations: [new VueIntegration({ Vue, attachProps: true, logErrors: true })]
24+ // })
25+ // }
2526
2627// console.log(process.env.VUE_APP_host)
2728// console.log(process.env.VUE_APP_pathname)
0 commit comments