Skip to content

请问 lib.ts 是有什么用 #13

@yanshouwang

Description

@yanshouwang

今天清理项目的时候发现 config 文件里的 entry 入口需要 lib.ts 这个文件,lib.ts 里面是这样的

export default {
  printf() {
    return 'miniprogram-custom-component api demo'
  }
}

请问 lib.ts 这个文件有什么用,可以删除或者修改吗?

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