Skip to content

Require module fails because package.json points to incorrect file in dist #19

@patomation

Description

@patomation

On line 33 in package.json. The 'main' key's value is 'dist/markercluster.js'
In the dist folder there is only markercluster.min.js.
This causes my require statement to fail to find the module.
So out of the box it doesn't work.

The work around was to change the package.json to 'dist/markercluster.min.js.'
I didn't want to bother with building the un-minified file. But I might want to though.

Anyways. Thanks for the great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions