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

Reducing component bundle size by importing specific components #130

Open
jaxomlotus opened this issue Nov 13, 2022 · 0 comments
Open

Reducing component bundle size by importing specific components #130

jaxomlotus opened this issue Nov 13, 2022 · 0 comments

Comments

@jaxomlotus
Copy link

Hi, is there a way to import just the specific component needed?

for example, instead of:

import { PickerInline } from 'filestack-react';

we would do

import { PickerInline } from 'filestack-react/PickerInline';

The current component size is 266.2k, but I assume it would be reduced if we could specify the exact component we want to import.

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

No branches or pull requests

1 participant