Skip to content

browser throw error when import Chimee with esm file #142

Closed
@lizheming

Description

@lizheming

使用 ES Module 方式引入 Chimee 编译的 esm 包报错。
Browser throw error when we import Chimee esm build file with es module type.

Expected Behavior【期望行为】

Import normal.

Current Behavior【实际表现】

image

Uncaught TypeError: Failed to resolve module specifier "babel-runtime/helpers/typeof". Relative references must start with either "/", "./", or "../".

Steps to Reproduce【复现方法】

demo page: https://imnerd.org/lab/chimee/

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions