From d94c2ce80f76f9844cf07cc93359790103f1c986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 24 Oct 2023 14:45:37 +0300 Subject: [PATCH] Alias updates --- vite.config.js => alias.config.js | 0 nuxt.config.js | 7 ++++--- vitest.config.js | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) rename vite.config.js => alias.config.js (100%) diff --git a/vite.config.js b/alias.config.js similarity index 100% rename from vite.config.js rename to alias.config.js diff --git a/nuxt.config.js b/nuxt.config.js index 8405881e7..64b22c197 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,4 @@ -import viteConfig from './vite.config'; +import aliasConfig from './alias.config'; const baseUrl = '/'; @@ -14,7 +14,7 @@ export default defineNuxtConfig({ } ], nitro: { - alias: viteConfig.resolve.alias + alias: aliasConfig.resolve.alias }, primevue: { options: { @@ -76,5 +76,6 @@ export default defineNuxtConfig({ gtag: { id: 'G-48TTQ6G6KV' }, - css: ['/node_modules/primeflex/primeflex.css', '/node_modules/primeicons/primeicons.css', '@/assets/styles/flags.css', '@docsearch/css/dist/style.css', '@/assets/styles/layout/landing/_landing.scss', '@/assets/styles/layout/layout.scss'] + css: ['/node_modules/primeflex/primeflex.css', '/node_modules/primeicons/primeicons.css', '@/assets/styles/flags.css', '@docsearch/css/dist/style.css', '@/assets/styles/layout/landing/_landing.scss', '@/assets/styles/layout/layout.scss'], + vite: aliasConfig }); diff --git a/vitest.config.js b/vitest.config.js index e79d16524..d60a81852 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -2,10 +2,10 @@ import vue from '@vitejs/plugin-vue'; import path from 'path'; import { mergeConfig } from 'vite'; import { defineConfig } from 'vitest/config'; -import viteConfig from './vite.config'; +import aliasConfig from './alias.config'; export default mergeConfig( - viteConfig, + aliasConfig, defineConfig({ plugins: [vue()], test: {