Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks
Commits
0f29c6eb
Commit
0f29c6eb
authored
Jan 13, 2021
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 添加sentry配置文件
parent
605a9e1a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
.sentryclirc.ts
app/web/.sentryclirc.ts
+17
-0
index.ts
app/web/component/layout/activity/index.ts
+1
-1
index.ts
app/web/component/layout/editor/index.ts
+1
-1
webpack.config.js
webpack.config.js
+1
-1
No files found.
app/web/.sentryclirc.ts
0 → 100644
View file @
0f29c6eb
module
.
exports
=
{
// Sentry options are required
organization
:
'
sentry
'
,
project
:
'
quantum-blocks
'
,
apiKey
:
'
2e7e0678d81d4542b09cdbc35812f1cbb07a4993cd13435ba49d9511be11ec95
'
,
// Release version name/hash is required
release
:
'
quantum-blocks@0.0.1
'
,
baseSentryURL
:
'
http://sentry.quantgroups.com/api/0
'
,
deleteAfterCompile
:
true
,
include
:
/js
\/
/
,
// 只上传js和map文件
ignore
:
[
'
node_modules
'
],
suppressErrors
:
true
,
filenameTransform
(
filename
)
{
return
'
~/
'
+
filename
;
},
};
app/web/component/layout/activity/index.ts
View file @
0f29c6eb
...
@@ -2,7 +2,7 @@ import { Vue, Component, Prop } from 'vue-property-decorator';
...
@@ -2,7 +2,7 @@ import { Vue, Component, Prop } from 'vue-property-decorator';
import
cherryUi
from
'
@qg/cherry-ui
'
;
import
cherryUi
from
'
@qg/cherry-ui
'
;
import
Raven
from
'
raven-js
'
;
import
Raven
from
'
raven-js
'
;
import
RavenVue
from
'
raven-js/plugins/vue
'
;
import
RavenVue
from
'
raven-js/plugins/vue
'
;
import
{
release
}
from
'
@/.sentryclirc
.js
'
;
import
{
release
}
from
'
@/.sentryclirc
'
;
import
'
@qg/cherry-ui/dist/cherry.css
'
;
import
'
@qg/cherry-ui/dist/cherry.css
'
;
Vue
.
use
(
cherryUi
);
Vue
.
use
(
cherryUi
);
...
...
app/web/component/layout/editor/index.ts
View file @
0f29c6eb
...
@@ -3,7 +3,7 @@ import iView from 'iview';
...
@@ -3,7 +3,7 @@ import iView from 'iview';
import
cherryUi
from
'
@qg/cherry-ui
'
;
import
cherryUi
from
'
@qg/cherry-ui
'
;
import
Raven
from
'
raven-js
'
;
import
Raven
from
'
raven-js
'
;
import
RavenVue
from
'
raven-js/plugins/vue
'
;
import
RavenVue
from
'
raven-js/plugins/vue
'
;
import
{
release
}
from
'
@/.sentryclirc
.js
'
;
import
{
release
}
from
'
@/.sentryclirc
'
;
import
VueContextMenu
from
'
@editor/component/Contextmenu/index
'
;
import
VueContextMenu
from
'
@editor/component/Contextmenu/index
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
import
'
iview/dist/styles/iview.css
'
;
import
'
iview/dist/styles/iview.css
'
;
...
...
webpack.config.js
View file @
0f29c6eb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
const
path
=
require
(
'
path
'
);
const
path
=
require
(
'
path
'
);
const
SentryPlugin
=
require
(
"
webpack-sentry-plugin
"
);
const
SentryPlugin
=
require
(
"
webpack-sentry-plugin
"
);
const
resolve
=
filepath
=>
path
.
resolve
(
__dirname
,
filepath
);
const
resolve
=
filepath
=>
path
.
resolve
(
__dirname
,
filepath
);
const
SentryConfig
=
require
(
"
./app/web/.sentryclirc
.js
"
);
const
SentryConfig
=
require
(
"
./app/web/.sentryclirc
"
);
module
.
exports
=
{
module
.
exports
=
{
entry
:
{
entry
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment