shenme
shenme
我也遇见这个问题了 ``` export default { cjs: { type: 'babel', minify: true, lazy: true, }, esm: 'babel', extraExternals: [ 'react', 'react-dom', /^@babel\/runtime/, ], extraBabelPlugins: [ [ 'import', { libraryName: 'antd', libraryDirectory:...
@PeachScript
我用的是dumi 里自带的 father-build
https://gitee.com/uixepm/dumi.git @PeachScript 可改变.fatherrc.ts中disableTypeCheck的值分别打包yarn build 我的机器是 
有大佬解答下困惑吗
> > 因为 models 名取自 `target.constructor.name`. JS 一压缩就没了. > > 正解! 这里有啥好的解决办法吗