babel-plugin-lodash to slim down bundle size by 300 KB

This commit is contained in:
Devin Howard 2016-09-25 21:53:26 +08:00
parent 11d13445fb
commit 2ade375c20
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,7 @@
"es2015" "es2015"
], ],
"plugins": [ "plugins": [
"lodash",
"transform-class-properties" "transform-class-properties"
] ]
} }

View file

@ -21,17 +21,18 @@
"autolinker": "0.17.1", "autolinker": "0.17.1",
"babel-cli": "6.11.4", "babel-cli": "6.11.4",
"babel-loader": "6.2.4", "babel-loader": "6.2.4",
"babel-plugin-lodash": "^3.2.9",
"babel-plugin-transform-class-properties": "6.11.5", "babel-plugin-transform-class-properties": "6.11.5",
"babel-preset-es2015": "6.9.0", "babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.11.1", "babel-preset-react": "6.11.1",
"backbone": "1.0.0", "backbone": "1.0.0",
"csv-parse": "1.1.7", "csv-parse": "1.1.7",
"lodash": "4.16.1",
"node-uuid": "1.2.0", "node-uuid": "1.2.0",
"react": "15.3.0", "react": "15.3.0",
"react-dom": "15.3.0", "react-dom": "15.3.0",
"requirejs": "2.1.1", "requirejs": "2.1.1",
"socket.io": "0.9.12", "socket.io": "0.9.12",
"underscore": "1.4.4",
"webpack": "1.13.1" "webpack": "1.13.1"
}, },
"devDependencies": { "devDependencies": {