Skip to content

[Feature Request] Remove decimal.js #1571

@genu

Description

@genu

Is your feature request related to a problem? Please describe.
decimal.js adds an extra 31.9k of overhead to the bundle.

Its quite a heavy dependency considering that we're using just a few methods from it, like isDecimal()

Describe the solution you'd like

  • Is it possible to just implement the features we need from decimal.js directly?
  • OR using lightweight options like decimal.js-light or big.js

Describe alternatives you've considered
I prefer removing the dependency altogether if possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions