fix: remove vite.config.ts and postcss.config.js conflicting with Nuxt

These are legacy configs from the Vue SPA. Nuxt manages Vite and
PostCSS internally — external configs cause IPC connection errors.
This commit is contained in:
2026-04-08 16:34:12 +02:00
parent 3566b91fe6
commit 76a2772951
2 changed files with 0 additions and 60 deletions
-6
View File
@@ -1,6 +0,0 @@
export default {
plugins: {
'@tailwindcss/postcss': {},
autoprefixer: {},
},
}
-54
View File
@@ -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']
}
})