From 4dc39a7af53efe648578cdedf2175e10c7f34678 Mon Sep 17 00:00:00 2001 From: exhq Date: Mon, 8 Jul 2024 04:28:25 +0330 Subject: [PATCH] balls gaming --- hacked/App.tsx | 3 +++ hacked/index.html | 1 + hacked/index.tsx | 11 +++++++++++ tsconfig.app.json | 2 +- vite.config.ts | 9 +++++++++ 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 hacked/App.tsx create mode 100644 hacked/index.html create mode 100644 hacked/index.tsx diff --git a/hacked/App.tsx b/hacked/App.tsx new file mode 100644 index 0000000..d8ebfcd --- /dev/null +++ b/hacked/App.tsx @@ -0,0 +1,3 @@ +export default function App(){ + return <>balls gaming +} \ No newline at end of file diff --git a/hacked/index.html b/hacked/index.html new file mode 100644 index 0000000..a8421f6 --- /dev/null +++ b/hacked/index.html @@ -0,0 +1 @@ +balls \ No newline at end of file diff --git a/hacked/index.tsx b/hacked/index.tsx new file mode 100644 index 0000000..6432ed4 --- /dev/null +++ b/hacked/index.tsx @@ -0,0 +1,11 @@ +import { render } from 'solid-js/web' + +import App from './App' + +const root = document.getElementById('hackedroot') + +render(() => ( + <> + + +), root!) diff --git a/tsconfig.app.json b/tsconfig.app.json index 348fb41..3bdead8 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -24,5 +24,5 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true }, - "include": ["src"] + "include": ["src", "hacked"] } diff --git a/vite.config.ts b/vite.config.ts index 4095d9b..43570bb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,15 @@ import { defineConfig } from 'vite' +import { resolve } from 'path' import solid from 'vite-plugin-solid' export default defineConfig({ + build: { + rollupOptions: { + input: { + main: resolve(__dirname, 'index.html'), + hacked: resolve(__dirname, 'hacked/index.html') + } + } + }, plugins: [solid()], })