umi
umi copied to clipboard
[Feature Request] umi mpa可以添加output配置么?
Background
现在umi mpa配置开启,build后,输出格式是这样的

我想自由的设置输出路径,比如这样 build
- bar
- index.html
- index.js
- foo
- index.html
- index.js
因此可否添加一个 output 参数,可以自己配置,输出的html和js的路径, 类似这种
mpa:{
entry: {
foo: 'src/pages/foo/index.tsx',
bar: 'src/pages/bar/index.tsx'
},
output:{
bar: 'build/bar/index',
foo: 'build/foo/index'
}
}
类似entry 添加多入口,那么每个出口也可以自由配置

"umi": "^4.0.52"
Proposal
Describe the solution you'd like, better to provide some pseudo code.
Additional context
Add any other context or screenshots about the feature request here.
为什么这个插件不维护了,好可惜,真的功能比现在的强太多了
为什么这个插件不维护了,好可惜,真的功能比现在的强太多了
一样想有这个功能,老哥有好的解决办法吗
MAP 模式可以共存么?项目中需要多入口,在 iframe 中使用 类似这个 issue https://github.com/umijs/umi/issues/8050