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

项目打包类型引入报错 #71

Closed
qianphong opened this issue Oct 12, 2021 · 1 comment
Closed

项目打包类型引入报错 #71

qianphong opened this issue Oct 12, 2021 · 1 comment

Comments

@qianphong
Copy link
Contributor

Bug 描述 Bug description

vue-request 更新到 1.2.2,项目打包提示如下错误

20211012104035

20211012104045

20211012104049

代码重现 Reproduce

期望结果 Desired result

src/core/types.ts 使用相对路径引入类型

- import type { LoadMoreExtendsOption } from 'src/useLoadMore';
- import type { PaginationExtendsOption } from 'src/usePagination';

+ import type { LoadMoreExtendsOption } from '../useLoadMore';
+ import type { PaginationExtendsOption } from '../usePagination';

其他信息 Other information

@qianphong qianphong changed the title [Bug Report] 项目打包类型引入报错 Oct 12, 2021
@John60676
Copy link
Member

晚上会发个版

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

2 participants