randallknutson / redux-injector

Allows dynamically injecting reducers into a redux store at runtime
59 stars 14 forks source link

Adding babel-plugin-lodash to reduce requires with bundlers. #5

Closed saboya closed 6 years ago

saboya commented 7 years ago

This PR adds babel-plugin-lodash to convert lodash import statements to specific parts of lodash so bundlers don't pull the entire lib for a couple of functions.

This could be adressed directly at the import level, but since babel is already used anyway I figured the change that didn't impact coding style would be best.

Thanks for your work!