From f31cc76fbe0ff01800f03190e8886a09ac87cf96 Mon Sep 17 00:00:00 2001 From: OhSeongRak Date: Tue, 17 Jun 2025 18:15:01 +0900 Subject: [PATCH] fix: deployment --- vite.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vite.config.js b/vite.config.js index fb2a622..b43234e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,7 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import vuetify from 'vite-plugin-vuetify' +import { fileURLToPath, URL } from 'node:url' export default defineConfig({ plugins: [ @@ -9,6 +10,11 @@ export default defineConfig({ autoImport: true, }) ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + }, build: { outDir: 'dist', sourcemap: false,