easy-team / egg-react-webpack-boilerplate

Egg React Server Side Render(SSR) / Client Sider Render(CSR)
https://easyjs.cn/egg-react
MIT License
671 stars 93 forks source link

不支持 tree-sharking #55

Open QRL909109 opened 3 years ago

QRL909109 commented 3 years ago
// component.ts   
import ComA from './coma'    
import ComBfrom './comb'    
export {ComA, ComB}
// index.tsx   
import {ComA} from './component'

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