Skip to content

不支持 tree-sharking #55

Description

@QRL909109
// component.ts   
import ComA from './coma'    
import ComBfrom './comb'    
export {ComA, ComB}
// index.tsx   
import {ComA} from './component'

最后编译的时候没有tree-sharking 掉ComB组件,请问是我 tsconfig 里面的配置影响到, 还是框架本身不支持

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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