-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Modern.js Module build support module federation #6401
Comments
是说希望 provider 是 module 类型吗 |
modern.config.ts 类似于这样: import { defineConfig, moduleTools } from '@modern-js/module-tools'
import { moduleFederationPlugin } from '@module-federation/modern-js'
export default defineConfig({
plugins: [moduleTools(), moduleFederationPlugin()],
buildConfig: {
...
}
}) 现在这样写,模块联邦的部分打包不出来 |
web-infra-dev/rslib#240 这个应该可以解决你的需求,最近几天就会发布 |
这个rslib感觉和modern.js module是不是定位重叠了? |
不一样,modern module 是 esbuild 构建,rslib 是 rspack 构建,后续会比较推荐 rslib |
好的,谢谢解答😊 |
这个功能解决了什么问题?
开发插件架构项目。
Modern.js framework
开发打包;你期望的 API 是什么样子的?
Modern.js Module 打包支持 模块联邦
The text was updated successfully, but these errors were encountered: