Skip to content

[Bug]: open embed 只有第一个打包成功 #383

@li-yechao

Description

@li-yechao

Describe the bug

https://github.com/blocklet/ai-studio/blob/6031254bd1659bb71806c3389dcf25d73cff8d83/blocklets/ai-studio/vite.config.ts#L68

AIGNE Studio 中有两个 open ebmed 组件,打包之后只有 embeds 中的第一个组件,其他组件均未找到
试过调换了 embeds 中的组件顺序(只有第一个会被 bundle)

Image

Reproduction Steps

  • 进入 blocklets/ai-studio 目录
  • pnpm bundle:client
  • 查看 dist/open-embed 目录(仅有一个组件)

Observed Behavior

只有第一个 embed 会被 bundle

Expected Behavior

期望所有 embeds 中的组件均被 bundle

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

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