balls gaming

This commit is contained in:
amy 2024-07-08 04:28:25 +03:30
parent 0202e1a23a
commit 4dc39a7af5
5 changed files with 25 additions and 1 deletions

3
hacked/App.tsx Normal file
View file

@ -0,0 +1,3 @@
export default function App(){
return <>balls gaming</>
}

1
hacked/index.html Normal file
View file

@ -0,0 +1 @@
balls

11
hacked/index.tsx Normal file
View file

@ -0,0 +1,11 @@
import { render } from 'solid-js/web'
import App from './App'
const root = document.getElementById('hackedroot')
render(() => (
<>
<App />
</>
), root!)

View file

@ -24,5 +24,5 @@
"noUnusedParameters": true, "noUnusedParameters": true,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true
}, },
"include": ["src"] "include": ["src", "hacked"]
} }

View file

@ -1,6 +1,15 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import { resolve } from 'path'
import solid from 'vite-plugin-solid' import solid from 'vite-plugin-solid'
export default defineConfig({ export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
hacked: resolve(__dirname, 'hacked/index.html')
}
}
},
plugins: [solid()], plugins: [solid()],
}) })