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: {