Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webpack config bundle size #43

Open
mradkov opened this issue Jun 25, 2020 · 2 comments
Open

Update webpack config bundle size #43

mradkov opened this issue Jun 25, 2020 · 2 comments

Comments

@mradkov
Copy link

mradkov commented Jun 25, 2020

Quick fix was introduced #40 to bump the build size. But this should be dealt with at some point.

#40 (review)

@shapkarin
Copy link

shapkarin commented Jul 7, 2020

@mradkov we can reduce the bundle size with that approach https://www.npmjs.com/package/babel-plugin-lodash
make the lodash imports transform from

import { times } from 'lodash' 

to the

import times from 'lodash/times'

@shapkarin
Copy link

Also we can use even the lodash-es

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants