Skip to content

Create the initFull() function to initialize in Full library mode in order to improve tree-shaking #63

@webJose

Description

@webJose

Motivation

Importing init() makes bundlers bundle the LocationFull class, effectively not needed.

Proposal

Remove the full: boolean option from the init() function's options and let people specifically import the new initFull() function to initialize the library in full library mode. This should address the tree-shaking issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumMedium priority. Upvote to request a higher priority. Downvote to attempt to lower priority.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions