Skip to content

code splitting support #42

@swyxio

Description

@swyxio

Current Behavior

currently we bundle single files, named per environment/module format.

to support code splitting (which is the default behavior of Rollup v1 which we just upgraded to) we'll have to evolve this to a folder format with multiple files.

right now this https://github.com/sw-yx/react-netlify-identity-widget/blob/master/src/index.tsx#L8 doesnt produce a separate bundle for me :(

Desired Behavior

code splitting support.

Suggested Solution

as above

Who does this impact? Who is this for?

all users, partiuclarly React users, who want to offer code splitting as a feature

Describe alternatives you've considered

no change

Additional context

i'm unsure what existing priorities this may conflict with for you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions