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 = { module.exports = {
swcMinify: true, swcMinify: true,
rewrites: async () => {
return [
{
source: "/",
destination: "/index.html",
}
]
},
webpack: (config) => { webpack: (config) => {
config.resolve.fallback = { config.resolve.fallback = {
fs: false, fs: false,