Skip to content

Webpack #6

@m0rdreck

Description

@m0rdreck

Hello i try to use this with webpack but i have one error on GMap file

Module build failed: SyntaxError: C:/js/components/maps/GMap.js: Unexpected token (34:22)

32 | >
33 | {

34 | clusters.map(({ ...markerProps, id, numPoints }) => (
| ^
35 | numPoints === 1
36 | ? <SimpleMarker key={id} {...markerProps} />
37 | : <ClusterMarker key={id} {...markerProps} />

Do you have an idea for this ? i have same error on ...cluster

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