Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
optimize lodash import
  • Loading branch information
agaricus committed Jul 29, 2016
1 parent 63639be commit fdcbb98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"babel-core": "^5.8.35",
"babel-eslint": "^6.0.2",
"babel-loader": "^5.3.2",
"babel-plugin-lodash": "^3.2.6",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"css-loader": "^0.21.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rm -rf build

# Build ES5 modules to lib
rm -rf lib
./node_modules/.bin/babel src --out-dir lib --presets es2015,react
./node_modules/.bin/babel src --out-dir lib --presets es2015,react --plugins lodash

# Build example file
rm example/index.js
Expand Down

0 comments on commit fdcbb98

Please sign in to comment.