Reposition around EXIF/GPS/C2PA privacy, replace dead HowTo/FAQ schema, add three guide pages with sitemap and internal links. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
28 lines
692 B
JavaScript
28 lines
692 B
JavaScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
import { resolve } from 'node:path'
|
|
|
|
const guides = ['', 'remove-gps-from-photo', 'what-is-exif-data', 'what-is-c2pa']
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
base: '/',
|
|
build: {
|
|
outDir: 'dist',
|
|
assetsDir: 'assets',
|
|
cssMinify: 'lightningcss',
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
...Object.fromEntries(
|
|
guides.map((slug) => [
|
|
`guides-${slug || 'index'}`,
|
|
resolve(__dirname, 'guides', slug, 'index.html'),
|
|
])
|
|
),
|
|
},
|
|
},
|
|
},
|
|
})
|