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
P
pro-blocks
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
pro-blocks
Commits
75e4ac6e
Commit
75e4ac6e
authored
Jul 15, 2018
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimization: delete externals
parent
b0680466
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
+48
-0
.webpackrc.js
.webpackrc.js
+29
-0
src/index.ejs
src/index.ejs
+19
-0
No files found.
.webpackrc.js
0 → 100755
View file @
75e4ac6e
const
path
=
require
(
'
path
'
);
export
default
{
entry
:
'
src/index.js
'
,
extraBabelPlugins
:
[[
'
import
'
,
{
libraryName
:
'
antd
'
,
libraryDirectory
:
'
es
'
,
style
:
true
}]],
env
:
{
development
:
{
extraBabelPlugins
:
[
'
dva-hmr
'
],
},
},
externals
:
{
'
@antv/data-set
'
:
'
DataSet
'
,
rollbar
:
'
rollbar
'
,
},
alias
:
{
components
:
path
.
resolve
(
__dirname
,
'
src/components/
'
),
},
ignoreMomentLocale
:
true
,
theme
:
'
./src/theme.js
'
,
html
:
{
template
:
'
./src/index.ejs
'
,
},
lessLoaderOptions
:
{
javascriptEnabled
:
true
,
},
disableDynamicImport
:
true
,
publicPath
:
'
/
'
,
hash
:
true
,
};
src/index.ejs
0 → 100644
View file @
75e4ac6e
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<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>
<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>
<div
id=
"root"
></div>
</body>
</html>
\ No newline at end of file
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