0.3.1 • Published 2 years ago
rbxts-transformer-fusion v0.3.1
rbxts-transformer-fusion
This transformer adds JSX support for Fusion (https://elttob.github.io/Fusion/)
instructions:
Install roblox-ts@next
npm i roblox-ts@next
Install rbxts-transformer-fusion:
npm i -D rbxts-transformer-fusion
Add rbxts-transformer-fusion as a transformer in your tsconfig.json
Also you need to add the transformer to your tsconfig types
{
"compilerOptions": {
"types": ["rbxts-transformer-fusion"],
"plugins": [
{"transform": "rbxts-transformer-fusion"}
]
}
}
At the top of every file that used JSX, you must import Fusion with the exact name.
import Fusion from "@rbxts/fusion"
Notes
There are a lot of known bugs, thats why this is a beta. If you find one that doesn't have an issue, please create one (if you can be bothered).
0.3.0
2 years ago
0.3.1
2 years ago
0.3.0-beta.2
2 years ago
0.3.0-beta.3
2 years ago
0.3.0-beta.1
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago