Skip to content

Reducing component bundle size by importing specific components #130

Open
@jaxomlotus

Description

@jaxomlotus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions