Skip to content

Optimize package size by using .d.ts and js for large ts files such as material icons file #11

@softmarshmallow

Description

@softmarshmallow

5000+ Lines

https://github.com/gridaco/flutter-builder/blob/main/packages/flutter/lib/material/icons.ts

This almost takes up 666kb as js on npm. we can minimize this by exporting all types to .d.ts and having single dynamic function on js side.

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