umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.61k stars 1.18k forks source link

dumi的mock功能是只能在dumi dev中使用吗?dumi build后看着没生效 #2127

Closed AllenJacen closed 5 months ago

AllenJacen commented 5 months ago

What problem does this feature solve?

dumi的mock功能是只能在dumi dev中使用吗?dumi build后看着没生效

Possible Solution (optional)

No response

PeachScript commented 5 months ago

是的,mock 依赖 dev server 仅 dev 可用

issue 仅接受 feature request 和 bug,后续使用问题请用 discussion

AllenJacen commented 5 months ago

好的