optimization for webpack vendor files
This commit is contained in:
parent
5dd0220610
commit
b4fabd4aaa
2 changed files with 13 additions and 2 deletions
|
@ -70,7 +70,7 @@
|
||||||
"body-parser": "^1.15.1",
|
"body-parser": "^1.15.1",
|
||||||
"bson-objectid": "^1.1.4",
|
"bson-objectid": "^1.1.4",
|
||||||
"classnames": "^2.2.5",
|
"classnames": "^2.2.5",
|
||||||
"codemirror": "^5.19.0",
|
"codemirror": "^5.21.0",
|
||||||
"connect-mongo": "^1.2.0",
|
"connect-mongo": "^1.2.0",
|
||||||
"cookie-parser": "^1.4.1",
|
"cookie-parser": "^1.4.1",
|
||||||
"csslint": "^0.10.0",
|
"csslint": "^0.10.0",
|
||||||
|
|
|
@ -18,7 +18,18 @@ module.exports = {
|
||||||
],
|
],
|
||||||
vendor: [
|
vendor: [
|
||||||
'react',
|
'react',
|
||||||
'react-dom'
|
'react-dom',
|
||||||
|
'redux',
|
||||||
|
'codemirror',
|
||||||
|
'moment',
|
||||||
|
'redux-form',
|
||||||
|
'react-redux',
|
||||||
|
'dropzone',
|
||||||
|
'axios',
|
||||||
|
'classnames',
|
||||||
|
'react-inlinesvg',
|
||||||
|
'react-router',
|
||||||
|
'redux-thunk'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
|
Loading…
Reference in a new issue