mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 18:49:39 +02:00
Final cleanup of references missed in previous rename commits: - Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL - Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files) - launchd plists: com.manacore.* → com.mana.* (14 files renamed + content) - Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files) - .env.example files: ManaCore brand strings → Mana - .prettierignore: stale apps/manacore/* paths → apps/mana/* - Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc. Excluded from rename: .claude/, devlog/, manascore/ (historical content), client testimonials, blueprints, npm package refs (@mana-core/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
55 lines
1.3 KiB
TypeScript
55 lines
1.3 KiB
TypeScript
/// <reference types="vitest/config" />
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
|
import { createPWAConfig } from '@mana/shared-pwa';
|
|
import { MANA_SHARED_PACKAGES, getBuildDefines } from '@mana/shared-vite-config';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tailwindcss(),
|
|
sveltekit(),
|
|
SvelteKitPWA(
|
|
createPWAConfig({
|
|
name: 'ManaVoxel - Pixel Worlds',
|
|
shortName: 'ManaVoxel',
|
|
description: 'Create and program detailed pixel worlds in your browser',
|
|
themeColor: '#10b981',
|
|
devEnabled: false,
|
|
shortcuts: [
|
|
{
|
|
name: 'My Worlds',
|
|
short_name: 'Worlds',
|
|
description: 'Open your worlds',
|
|
url: '/worlds',
|
|
},
|
|
{
|
|
name: 'Discover',
|
|
short_name: 'Discover',
|
|
description: 'Discover community worlds',
|
|
url: '/worlds?tab=discover',
|
|
},
|
|
],
|
|
})
|
|
),
|
|
],
|
|
server: {
|
|
port: 5028,
|
|
strictPort: true,
|
|
},
|
|
ssr: {
|
|
noExternal: [...MANA_SHARED_PACKAGES, '@manavoxel/shared'],
|
|
},
|
|
optimizeDeps: {
|
|
exclude: [...MANA_SHARED_PACKAGES, '@manavoxel/shared'],
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['src/**/*.test.ts'],
|
|
globals: true,
|
|
},
|
|
define: {
|
|
...getBuildDefines(),
|
|
},
|
|
});
|