balls gaming
This commit is contained in:
parent
0202e1a23a
commit
4dc39a7af5
5 changed files with 25 additions and 1 deletions
3
hacked/App.tsx
Normal file
3
hacked/App.tsx
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export default function App(){
|
||||||
|
return <>balls gaming</>
|
||||||
|
}
|
1
hacked/index.html
Normal file
1
hacked/index.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
balls
|
11
hacked/index.tsx
Normal file
11
hacked/index.tsx
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import { render } from 'solid-js/web'
|
||||||
|
|
||||||
|
import App from './App'
|
||||||
|
|
||||||
|
const root = document.getElementById('hackedroot')
|
||||||
|
|
||||||
|
render(() => (
|
||||||
|
<>
|
||||||
|
<App />
|
||||||
|
</>
|
||||||
|
), root!)
|
|
@ -24,5 +24,5 @@
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"noFallthroughCasesInSwitch": true
|
"noFallthroughCasesInSwitch": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src", "hacked"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue