Skip to content

Enter the version directly in index.js #116

@mrennie

Description

@mrennie

Rather than require'ing the package.json simply to read the version number, you should just enter it in there each release.

Remove the import statement and add a const (or something) by the export at the end.

This simple change shrinks the browserified version of the lib from ~7140LOC to ~7060LOC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions