Skip to content

[vite] Failed to resolve import "resium" #682

@chdenat

Description

@chdenat

Hi

With the last release, 1.18.3, I can't import from Resium using Vite.

Using:
import { useCesium } from 'resium'
but got:
10:07:47 AM [vite] Pre-transform error: Failed to resolve import "resium" from "src/components/cesium/MapLayer.jsx". Does the file exist?
It works nice with 1.18.2.

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