Skip to content

Commit

Permalink
Remove babel-plugin-lodash
Browse files Browse the repository at this point in the history
While in theory, this may reduce the bundle size,
in practice it adds a ton of overhead during startup
due to the number of additional requires. Bundle
size also shouldn't matter for server side modules.
  • Loading branch information
tgriesser committed May 29, 2018
1 parent cf51f5c commit 2d4932e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .babelconfig.js
Expand Up @@ -8,8 +8,7 @@ var presets = [
module.exports = {
"presets": presets,
"plugins": [
"lodash",
"transform-runtime",
"add-module-exports"
]
};
};
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -32,7 +32,6 @@
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-lodash": "3.3.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"chai": "^4.1.2",
Expand Down

0 comments on commit 2d4932e

Please sign in to comment.