export default defineConfig()

in frontend/vite.config.ts [22:69]


export default defineConfig({
  plugins: [
    vue({
      template: {
        compilerOptions: {
          isCustomElement: (tag) => ['flame-graph'].includes(tag),
        }
      }
    }),
    vueJsx(),
    AutoImport({
      imports: [
        'vue'
      ],
      resolvers: [ElementPlusResolver()],
    }),
    Components({
      resolvers: [ElementPlusResolver()],
      dirs: []
    }),
  ],
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url))
    }
  },
  server: {
    port: 8089,
    proxy: {
      '/jifa-api': {
        target: 'http://localhost:8102',
      },
      '/oauth2': {
        target: 'http://localhost:8102',
      },
      '/login': {
        target: 'http://localhost:8102',
      },
      '/jifa-stomp': {
        target: 'ws://localhost:8102',
        ws: true
      }
    }
  },
  build: {
    chunkSizeWarningLimit: 10240
  }
})