Thanks to visit codestin.com
Credit goes to github.com

Skip to content

不支持 tree-sharking #55

@QRL909109

Description

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

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

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