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
c6d129a4
Commit
c6d129a4
authored
Jun 07, 2018
by
jim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up pakage.json version
parent
856990a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
.webpackrc.js
.webpackrc.js
+10
-1
package.json
package.json
+7
-7
src/rollbar.js
src/rollbar.js
+1
-1
No files found.
.webpackrc.js
View file @
c6d129a4
...
@@ -2,7 +2,16 @@ const path = require('path');
...
@@ -2,7 +2,16 @@ const path = require('path');
export
default
{
export
default
{
entry
:
'
src/index.js
'
,
entry
:
'
src/index.js
'
,
extraBabelPlugins
:
[[
'
import
'
,
{
libraryName
:
'
antd
'
,
libraryDirectory
:
'
es
'
,
style
:
true
}]],
extraBabelPlugins
:
[
[
'
import
'
,
{
libraryName
:
'
antd
'
,
libraryDirectory
:
'
es
'
,
style
:
true
,
},
],
],
env
:
{
env
:
{
development
:
{
development
:
{
extraBabelPlugins
:
[
'
dva-hmr
'
],
extraBabelPlugins
:
[
'
dva-hmr
'
],
...
...
package.json
View file @
c6d129a4
...
@@ -24,16 +24,16 @@
...
@@ -24,16 +24,16 @@
"dependencies"
:
{
"dependencies"
:
{
"
@antv/data-set
"
:
"
^0.8.0
"
,
"
@antv/data-set
"
:
"
^0.8.0
"
,
"
@babel/polyfill
"
:
"
^7.0.0-beta.36
"
,
"
@babel/polyfill
"
:
"
^7.0.0-beta.36
"
,
"
antd
"
:
"
^3.
4.3
"
,
"
antd
"
:
"
^3.
6.1
"
,
"
bizcharts
"
:
"
^3.1.5
"
,
"
bizcharts
"
:
"
^3.1.5
"
,
"
bizcharts-plugin-slider
"
:
"
^2.0.3
"
,
"
bizcharts-plugin-slider
"
:
"
^2.0.3
"
,
"
classnames
"
:
"
^2.2.5
"
,
"
classnames
"
:
"
^2.2.5
"
,
"
dva
"
:
"
^2.
2.3
"
,
"
dva
"
:
"
^2.
3.0
"
,
"
dva-loading
"
:
"
^2.0.1
"
,
"
dva-loading
"
:
"
^2.0.1
"
,
"
enquire-js
"
:
"
^0.2.1
"
,
"
enquire-js
"
:
"
^0.2.1
"
,
"
less
"
:
"
2.7.2
"
,
"
less
"
:
"
2.7.2
"
,
"
lodash
"
:
"
^4.17.4
"
,
"
lodash
"
:
"
^4.17.4
"
,
"
lodash-decorators
"
:
"
^5.0.
0
"
,
"
lodash-decorators
"
:
"
^5.0.
1
"
,
"
moment
"
:
"
^2.22.0
"
,
"
moment
"
:
"
^2.22.0
"
,
"
numeral
"
:
"
^2.0.6
"
,
"
numeral
"
:
"
^2.0.6
"
,
"
omit.js
"
:
"
^1.0.0
"
,
"
omit.js
"
:
"
^1.0.0
"
,
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@types/react
"
:
"
^16.3.8
"
,
"
@types/react
"
:
"
^16.3.8
"
,
"
@types/react-dom
"
:
"
^16.0.
5
"
,
"
@types/react-dom
"
:
"
^16.0.
6
"
,
"
antd-theme-webpack-plugin
"
:
"
^1.0.8
"
,
"
antd-theme-webpack-plugin
"
:
"
^1.0.8
"
,
"
babel-eslint
"
:
"
^8.1.2
"
,
"
babel-eslint
"
:
"
^8.1.2
"
,
"
babel-plugin-dva-hmr
"
:
"
^0.4.1
"
,
"
babel-plugin-dva-hmr
"
:
"
^0.4.1
"
,
...
@@ -70,12 +70,12 @@
...
@@ -70,12 +70,12 @@
"
eslint-plugin-import
"
:
"
^2.8.0
"
,
"
eslint-plugin-import
"
:
"
^2.8.0
"
,
"
eslint-plugin-jsx-a11y
"
:
"
^6.0.3
"
,
"
eslint-plugin-jsx-a11y
"
:
"
^6.0.3
"
,
"
eslint-plugin-markdown
"
:
"
^1.0.0-beta.6
"
,
"
eslint-plugin-markdown
"
:
"
^1.0.0-beta.6
"
,
"
eslint-plugin-react
"
:
"
^7.
0
.1
"
,
"
eslint-plugin-react
"
:
"
^7.
9
.1
"
,
"
gh-pages
"
:
"
^1.
0
.0
"
,
"
gh-pages
"
:
"
^1.
2
.0
"
,
"
husky
"
:
"
^0.14.3
"
,
"
husky
"
:
"
^0.14.3
"
,
"
lint-staged
"
:
"
^7.0.5
"
,
"
lint-staged
"
:
"
^7.0.5
"
,
"
mockjs
"
:
"
^1.0.1-beta3
"
,
"
mockjs
"
:
"
^1.0.1-beta3
"
,
"
prettier
"
:
"
1.13.
2
"
,
"
prettier
"
:
"
1.13.
4
"
,
"
pro-download
"
:
"
^1.0.1
"
,
"
pro-download
"
:
"
^1.0.1
"
,
"
redbox-react
"
:
"
^1.5.0
"
,
"
redbox-react
"
:
"
^1.5.0
"
,
"
regenerator-runtime
"
:
"
^0.11.1
"
,
"
regenerator-runtime
"
:
"
^0.11.1
"
,
...
...
src/rollbar.js
View file @
c6d129a4
import
Rollbar
from
'
rollbar
'
;
import
Rollbar
from
'
rollbar
'
;
// Track error by rollbar.com
// Track error by rollbar.com
if
(
location
.
host
===
'
preview.pro.ant.design
'
)
{
if
(
window
.
location
.
host
===
'
preview.pro.ant.design
'
)
{
Rollbar
.
init
({
Rollbar
.
init
({
accessToken
:
'
033ca6d7c0eb4cc1831cf470c2649971
'
,
accessToken
:
'
033ca6d7c0eb4cc1831cf470c2649971
'
,
captureUncaught
:
true
,
captureUncaught
:
true
,
...
...
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