From 3573ca97731f2658726e595e186a8b1356b3684b Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 21 Nov 2023 09:22:49 +0000 Subject: [PATCH] LNV 2023-11-21 09:22:49 --- vite.config.d.ts | 2 ++ vite.config.js | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 vite.config.d.ts create mode 100644 vite.config.js diff --git a/vite.config.d.ts b/vite.config.d.ts new file mode 100644 index 000000000..340562aff --- /dev/null +++ b/vite.config.d.ts @@ -0,0 +1,2 @@ +declare const _default: import("vite").UserConfig; +export default _default; diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 000000000..d1c5425ac --- /dev/null +++ b/vite.config.js @@ -0,0 +1,14 @@ +import { fileURLToPath, URL } from 'node:url'; +import { defineConfig } from 'vite'; +import vue from '@vitejs/plugin-vue'; +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + } +});