mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 05:46:42 +02:00
- Add missing packages to MANACORE_SHARED_PACKAGES list - Migrate all SvelteKit apps to use createViteConfig/mergeViteConfig - Matrix preserves special WASM config for matrix-js-sdk crypto - Update consolidation docs with completed Vite config task Savings: ~350 LOC (-318 net lines)
15 lines
418 B
TypeScript
15 lines
418 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { createViteConfig, mergeViteConfig } from '@manacore/shared-vite-config';
|
|
|
|
const baseConfig = createViteConfig({
|
|
port: 5191,
|
|
additionalPackages: ['@planta/shared'],
|
|
});
|
|
|
|
export default defineConfig(
|
|
mergeViteConfig(baseConfig, {
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
})
|
|
);
|