Skip to content

@deck.gl/*, three should be moved to peerDependencies #69

Description

@prusswan

I was importing these packages in my main project, and adding/using maplibre-gl-components led to double initialization of luma.gl (due to bundled three.js and probably @deck.gl/*). The only solution that worked was to build from source with modified package.json:

  "peerDependencies": {
    "@deck.gl/core": "^9.2.6",
    "@deck.gl/mapbox": "^9.2.6",
    "jspdf": ">=2.5.0",
    "maplibre-gl": ">=5.16.0",
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0",
    "three": "^0.178.0"
  },

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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