text: import { fileURLToPath } from 'url'
  
  import { defineConfig } from 'vite'
  import vue from '@vitejs/plugin-vue'
  
  // https://vitejs.dev/config/
  export default defineConfig({
    plugins: [vue()],
    server: {
      port: 8080
    },
    resolve: {
      alias: {
        '@': fileURLToPath(new URL('./src', import.meta.url))
      }
    },
    base: process.env.NODE_ENV === 'production'
      ? '/glowing-background-gradient/'
      : '/'
  })
  