chore(buddybook): fix hosting

This commit is contained in:
Danish Arora 2024-10-29 16:20:46 +05:30
parent a5d47978fb
commit 97be344b01
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
3 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BuddyBook Dogfood</title> <title>BuddyBook Dogfood</title>
<base href="/" />
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

View File

@ -0,0 +1 @@
/* /index.html 200

View File

@ -9,4 +9,16 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"), "@": path.resolve(__dirname, "./src"),
}, },
}, },
base: './',
build: {
assetsDir: 'assets',
manifest: true,
rollupOptions: {
output: {
entryFileNames: 'assets/[name]-[hash].js',
chunkFileNames: 'assets/[name]-[hash].js',
assetFileNames: 'assets/[name]-[hash].[ext]'
}
}
}
}) })