easy-team/egg-react-webpack-boilerplate

不支持 tree-sharking

Opened this issue · 0 comments

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

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