First commit
Create basic render engine that only allows to add elements
This commit is contained in:
parent
0d3eb3d40f
commit
f411544fe9
14 changed files with 414 additions and 0 deletions
10
vite.config.ts
Normal file
10
vite.config.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// vite.config.js
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
esbuild: {
|
||||
jsxFactory: "createElement",
|
||||
jsxFragment: "Fragment",
|
||||
jsxInject: `import {createElement, Fragment} from './lib/YarJS'`,
|
||||
},
|
||||
});
|
||||
Reference in a new issue