alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)
https://ice.work
MIT License
17.83k stars 2.09k forks source link

@ice/jsx-runtime 在 dev 时应该导出 react/jsx-dev-runtime #6767

Closed luhc228 closed 3 months ago

luhc228 commented 7 months ago

Describe the bug

目前 dev 导出的是 react/jsx-runtime,导致某些值缺失了。

https://github.com/alibaba/ice/blob/adb9b61fb9033c5271706442fea80fc8f2652bd8/packages/jsx-runtime/src/dev.ts#L1

Expected behavior

期望使用 react/jsx-dev-runtime

Actual behavior

No response

Version of ice.js

3.4.2

Content of build.json or ice.config.mts

No response

Additional context

No response