Commit 70448f06 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

externals bizcharts dataset and rollbar

parent 9b08f2ea
...@@ -2,14 +2,17 @@ const path = require('path'); ...@@ -2,14 +2,17 @@ const path = require('path');
export default { export default {
entry: 'src/index.js', entry: 'src/index.js',
extraBabelPlugins: [ extraBabelPlugins: [['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }]],
['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }],
],
env: { env: {
development: { development: {
extraBabelPlugins: ['dva-hmr'], extraBabelPlugins: ['dva-hmr'],
}, },
}, },
externals: {
'@antv/data-set': 'DataSet',
bizcharts: 'BizCharts',
rollbar: 'rollbar',
},
alias: { alias: {
components: path.resolve(__dirname, 'src/components/'), components: path.resolve(__dirname, 'src/components/'),
}, },
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ant Design Pro</title> <title>Ant Design Pro</title>
<link rel="icon" href="/favicon.png" type="image/x-icon"> <link rel="icon" href="/favicon.png" type="image/x-icon">
<script src="https://gw.alipayobjects.com/os/rmsportal/nGVBgVyXzzmbAqevIAPy.js">
</script>
<script src=" https://gw.alipayobjects.com/os/rmsportal/TKSqiyoUxzrHoMwjViwA.js "></script>
<script src="https://gw.alipayobjects.com/os/antv/assets/data-set/0.8.7/data-set.min.js"></script>
</head> </head>
<body> <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