update seo
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { defineConfig, loadEnv } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import path, { resolve } from 'path'
|
||||
|
||||
function injectFirebaseConfig(content: string, env: Record<string, string>): string {
|
||||
return content
|
||||
@@ -60,6 +60,12 @@ export default defineConfig({
|
||||
build: {
|
||||
chunkSizeWarningLimit: 1000,
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
about: resolve(__dirname, 'about.html'),
|
||||
privacy: resolve(__dirname, 'privacy.html'),
|
||||
termsofservice: resolve(__dirname, 'termsofservice.html'),
|
||||
},
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.includes('node_modules/firebase')) {
|
||||
|
||||
Reference in New Issue
Block a user