fuse-box / fuse-box/react-example

Why is a `transform-react-jsx` required

オープン
#5 コメント 12 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
70
フォーク
36
PR マージ指標
30日以内にマージされた PR はありません

説明

I was wondering why this example requires the `BabelPlugin`, since TypeScript can transpile `JSX` by itself.

Removing the plugin and using a custom `tsconfig.json` that sets `"jsx"` property to `"react"` works (at least it compiles), but the output seems to be broken. Opening the app in the browser is not possible -> `http://localhost:4444/default/index.jsx `

Is it not possible for FuseBox to compile JSX without any plugins?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。