8000 项目打包类型引入报错 · Issue #71 · AttoJS/vue-request · GitHub
[go: up one dir, main page]

Skip to content

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

@qianphong

Description

@qianphong

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

535D

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

      0