import tailwindcss from '@tailwindcss/vite'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [vue(), tailwindcss()],
  server: {
    proxy: {
      '/api': {
        target: 'http://127.0.0.1:8963',
        changeOrigin: true,
      },
      '/media': {
        target: 'http://127.0.0.1:8963',
        changeOrigin: true,
      },
    },
  },
})
