Skip to content

Commit

Permalink
add support for reactive JSX and
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Dec 3, 2023
1 parent 6022f11 commit 1f1edb0
Show file tree
Hide file tree
Showing 9 changed files with 2,911 additions and 16 deletions.
28 changes: 28 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"jsc": {
"parser": {
"tsx": true,
"syntax": "typescript",
"decorators": true,
"dynamicImport": true

},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true,
"react": {
"runtime": "automatic",
"importSource": "uix",
"throwIfNamespace": false
}
},
"target": "es2022",
"keepClassNames": true,
"externalHelpers": false,
"experimental": {
"plugins": [
["./jusix.wasm", {}]
]
}
}
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# JUSIX

An [SWC](https://swc.rs/) plugin that enables embedded JSX reactivity and `$()` shortcut function for [UIX](https://github.com/unyt-org/uix)
Binary file modified jusix.wasm
Binary file not shown.
Loading

0 comments on commit 1f1edb0

Please sign in to comment.