Jiannan Zhang

Results 85 comments of Jiannan Zhang

Thanks, looks like a good suggestion, add to the plan first

Could you provide a repository for reproducing the problem? I can't locate the problem by your description

I think this is because the product of building cjs with different build tools is inconsistent, and it's hard to get cjs to form a completely consistent output with some...

Or try to give me a reproduction of the repository, it is also possible that the bug is causing the problem

@SanMako 我尝试更改一下你的项目,这里是git diff的截图 I would try to change your project, here is a screenshot of git diff ![图片](https://user-images.githubusercontent.com/70385062/182521391-10dbbf1b-d543-447d-909c-3f5edc37fbec.png) 在我这里是可以成功编译和运行的 It compiles and runs successfully in my case ![图片](https://user-images.githubusercontent.com/70385062/182521649-c8b15129-1b5f-438c-b7b6-23d29f42042d.png) 我猜测你使用了dev模式启动了其中的项目,在你的项目里只能使用build&preview模式启动,因为只有完全的host端才可以使用dev模式启动(app-one和app-two都包含了exposes,只包含remotes配置的才可以使用dev) I...

由于vite的开发模式不能在运行时手动生成新的块,这导致远程不能生成remoteEntryjs文件。 Because vite's dev mode cannot manually generate new chunks during runtime, this causes remote to not generate remoteEntryjs files

@artem-kurchenko I clone the project, the reason for the problem is that `devextreme-vue` import `vue` using require (`cjs` syntax) ![image](https://user-images.githubusercontent.com/70385062/183376843-5968d14b-d687-4e2b-ab00-fba9f1b012f2.png) which causes `rollup` to add an extra `cjs` transformed export...

@artem-kurchenko sry,for the time being, in addition to https://github.com/originjs/vite-plugin-federation/issues/227#issuecomment-1207167441 I did not think of a better way

Thanks, I probably see what you mean, it's a real problem