diff --git a/summer2024-frontend/vite.config.js b/summer2024-frontend/vite.config.js index f9b8b3b..3820459 100644 --- a/summer2024-frontend/vite.config.js +++ b/summer2024-frontend/vite.config.js @@ -1,5 +1,3 @@ -import { fileURLToPath, URL } from 'node:url' - import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' @@ -11,19 +9,22 @@ import path from 'node:path' export default defineConfig({ css: { postcss: { - plugins: [tailwind(), autoprefixer()], - }, + plugins: [tailwind(), autoprefixer()] + } }, plugins: [ - vue(), + vue() ], resolve: { alias: { //'@': fileURLToPath(new URL('./src', import.meta.url)) - '@': path.resolve(__dirname, './src'), + '@': path.resolve(__dirname, './src') } }, server: { cors: false + }, + esbuild: { + drop: false } })