unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

JSX or TSX is not compiled

Open zguiyang opened this issue 3 years ago • 1 comments

Hi, I'm having a packaging problem,.tsx is not compiled, do I need to do additional configuration or is there a reason for this

image image

zguiyang avatar Jun 30 '22 11:06 zguiyang

The mkdist builder does not support JSX or TSX compilation. I am not sure if the rollup builder supports it either 🤔

dwightjack avatar Jul 25 '22 03:07 dwightjack

TSX support for mkdist added by https://github.com/unjs/mkdist/pull/71 and for rollup by https://github.com/unjs/unbuild/pull/198

pi0 avatar Jul 18 '23 17:07 pi0