mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 01:47:52 +08:00
feat: Implement UI polish and layout fixes
This commit is contained in:
@@ -11,7 +11,15 @@ const appVersion = packageJson.version
|
||||
const gitHash = execSync('git rev-parse --short HEAD').toString().trim()
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [
|
||||
react(),
|
||||
{
|
||||
name: 'html-transform',
|
||||
transformIndexHtml(html) {
|
||||
return html.replace(/__APP_VERSION__/g, appVersion);
|
||||
}
|
||||
}
|
||||
],
|
||||
base: '/', // Always use root, since we're Cloudflare Pages only
|
||||
publicDir: 'public', // ← Explicitly set (should be default)
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user