Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite dev可以运行 打包失败报错 #4548

Open
wujingjin1 opened this issue Dec 30, 2024 · 1 comment
Open

vite dev可以运行 打包失败报错 #4548

wujingjin1 opened this issue Dec 30, 2024 · 1 comment

Comments

@wujingjin1
Copy link

Describe the bug

vite 打包失败
环境:
"@antv/layout": "0.3.11",
"@antv/x6": "^2.18.1",
"@antv/x6-plugin-dnd": "^2.1.1",
"@antv/x6-plugin-minimap": "^2.0.7",
"@antv/x6-plugin-scroller": "^2.0.10",
"@antv/x6-plugin-snapline": "^2.1.7",
"@antv/x6-vue-shape": "^2.1.2",
"ant-design-vue": "^4.2.6",
"vue": "^3.5.13"
"vite": "^4.5.5",

Your Example Website or App

--

Steps to Reproduce the Bug or Issue

4: export {
5: closest,
6: ClosestEndpointOptions as ClosestAnchorOptions,
^
7: } from './closest'
error during build:
RollupError: "ClosestEndpointOptions" is not exported by "node_modules/@antv/x6/src/registry/edge-anchor/closest.ts", imported by "node_modules/@antv/x6/src/registry/edge-anchor/main.ts".

Expected behavior

打包成功

Screenshots or Videos

No response

Platform

macos

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Dec 30, 2024

👋 @wujingjin1

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant