Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
70448f06
Commit
70448f06
authored
Jun 22, 2018
by
ιεΈ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
externals bizcharts dataset and rollbar
parent
9b08f2ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
.webpackrc.js
.webpackrc.js
+6
-3
src/index.ejs
src/index.ejs
+4
-0
No files found.
.webpackrc.js
View file @
70448f06
...
...
@@ -2,14 +2,17 @@ const path = require('path');
export
default
{
entry
:
'
src/index.js
'
,
extraBabelPlugins
:
[
[
'
import
'
,
{
libraryName
:
'
antd
'
,
libraryDirectory
:
'
es
'
,
style
:
true
}],
],
extraBabelPlugins
:
[[
'
import
'
,
{
libraryName
:
'
antd
'
,
libraryDirectory
:
'
es
'
,
style
:
true
}]],
env
:
{
development
:
{
extraBabelPlugins
:
[
'
dva-hmr
'
],
},
},
externals
:
{
'
@antv/data-set
'
:
'
DataSet
'
,
bizcharts
:
'
BizCharts
'
,
rollbar
:
'
rollbar
'
,
},
alias
:
{
components
:
path
.
resolve
(
__dirname
,
'
src/components/
'
),
},
...
...
src/index.ejs
View file @
70448f06
...
...
@@ -7,6 +7,10 @@
<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://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>
<body>
...
...
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