Skip to content

Install only specific flags from react-flagpack #77

@ernstoarllano

Description

@ernstoarllano

Detailed Description

Currently, when using the react-flagpack library in a Next.js project, all SVGs are installed in the public folder by default. This request proposes a way to selectively install only the specific flags needed, rather than the entire collection.

Is your feature request related to a problem? Please describe.

The default installation of all SVGs can lead to unnecessary bloat in the project. It would be more efficient to install only the flags that are needed.

Describe the solution you'd like

A feature that allows users to specify which flags to include during the installation process, reducing the overall size of the package in the project.

Describe alternatives you've considered

Manually deleting unused SVGs from the public folder post-installation, but this is not an ideal solution.

Additional context

This feature would help minimize unnecessary bloat in the project, particularly for cases where only a limited number of flags are needed. By allowing selective installation, the overall efficiency of the development process can be improved, keeping the project lean and optimized.

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