From b4fabd4aaa929c64ef99df861bdc174d3a5403c1 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 30 Nov 2016 13:37:07 -0500 Subject: [PATCH] optimization for webpack vendor files --- package.json | 2 +- webpack.config.prod.js | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7b8b6dd3..f9100154 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "body-parser": "^1.15.1", "bson-objectid": "^1.1.4", "classnames": "^2.2.5", - "codemirror": "^5.19.0", + "codemirror": "^5.21.0", "connect-mongo": "^1.2.0", "cookie-parser": "^1.4.1", "csslint": "^0.10.0", diff --git a/webpack.config.prod.js b/webpack.config.prod.js index 4cbd345f..dee22184 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -18,7 +18,18 @@ module.exports = { ], vendor: [ 'react', - 'react-dom' + 'react-dom', + 'redux', + 'codemirror', + 'moment', + 'redux-form', + 'react-redux', + 'dropzone', + 'axios', + 'classnames', + 'react-inlinesvg', + 'react-router', + 'redux-thunk' ] }, output: {