This repository has been archived on 2024-10-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yarjs/vite.config.ts
aleidk f411544fe9
First commit
Create basic render engine that only allows to add elements
2024-09-10 11:30:23 -03:00

10 lines
240 B
TypeScript

// vite.config.js
import { defineConfig } from "vite";
export default defineConfig({
esbuild: {
jsxFactory: "createElement",
jsxFragment: "Fragment",
jsxInject: `import {createElement, Fragment} from './lib/YarJS'`,
},
});