From 6ae48691bdb0a9d9a3016ac0840dbf66cf82ea86 Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Wed, 8 Apr 2026 16:34:12 +0200 Subject: [PATCH] fix: remove vite.config.ts and postcss.config.js conflicting with Nuxt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are legacy configs from the Vue SPA. Nuxt manages Vite and PostCSS internally — external configs cause IPC connection errors. Co-Authored-By: Claude Opus 4.6 (1M context) --- postcss.config.js | 6 ------ vite.config.ts | 54 ----------------------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 postcss.config.js delete mode 100644 vite.config.ts diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 1c87846..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - plugins: { - '@tailwindcss/postcss': {}, - autoprefixer: {}, - }, -} diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index c52ad85..0000000 --- a/vite.config.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { fileURLToPath, URL } from 'node:url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueDevTools from 'vite-plugin-vue-devtools' - -// https://vite.dev/config/ -export default defineConfig({ - plugins: [ - vue(), - vueDevTools(), - ], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - }, - }, - build: { - // Optimize for SEO and performance - cssCodeSplit: true, - minify: 'terser', - terserOptions: { - compress: { - drop_console: true, - drop_debugger: true - } - }, - rollupOptions: { - output: { - // Optimize chunk splitting for better caching - manualChunks: { - 'vue-vendor': ['vue', 'vue-router'], - 'ui-components': [ - './src/components/ProjectCard.vue', - './src/components/TechBadge.vue', - './src/components/ContactMethod.vue' - ] - }, - // Use content hash for better caching - chunkFileNames: 'assets/js/[name]-[hash].js', - entryFileNames: 'assets/js/[name]-[hash].js', - assetFileNames: 'assets/[ext]/[name]-[hash].[ext]' - } - }, - // Enable source maps for better debugging - sourcemap: false, - // Increase chunk size warning limit - chunkSizeWarningLimit: 1000 - }, - // Optimize dependencies - optimizeDeps: { - include: ['vue', 'vue-router'] - } -})