make root serve static html

This commit is contained in:
Triston Armstrong 2023-12-24 00:12:31 -06:00
parent c92c9e0657
commit 107580db20
2 changed files with 8 additions and 0 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -1,5 +1,13 @@
module.exports = {
swcMinify: true,
rewrites: async () => {
return [
{
source: "/",
destination: "/index.html",
}
]
},
webpack: (config) => {
config.resolve.fallback = {
fs: false,