Commit a623b7fb authored by afc163's avatar afc163 Committed by 陈帅

remove rollbar

parent f9a06d9f
......@@ -36,7 +36,6 @@ export default {
},
externals: {
'@antv/data-set': 'DataSet',
rollbar: 'rollbar',
},
ignoreMomentLocale: true,
lessLoaderOptions: {
......
import Rollbar from 'rollbar';
// Track error by rollbar.com
if (window.location.host === 'preview.pro.ant.design') {
Rollbar.init({
accessToken: '033ca6d7c0eb4cc1831cf470c2649971',
captureUncaught: true,
captureUnhandledRejections: true,
hostWhiteList: ['ant.design'],
payload: {
environment: 'production',
},
});
}
......@@ -6,7 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ant Design Pro</title>
<link rel="icon" href="/favicon.png" type="image/x-icon">
<script src="https://cdn.bootcss.com/rollbar.js/2.4.0/rollbar.min.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/assets/data-set/0.8.7/data-set.min.js"></script>
</head>
<body>
......
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