mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-26 20:26:13 +01:00
chore(style.css): update font paths to use a variable for the fonts directory
chore(vite.config.ts): import the resolve function from the path module
This commit is contained in:
parent
b096fb98ce
commit
193ed93ee8
2 changed files with 15 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { defineConfig, loadEnv } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import path from 'path';
|
||||
import path, { resolve } from 'path';
|
||||
import type { Plugin } from 'vite';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
|
|
@ -42,6 +42,7 @@ export default defineConfig({
|
|||
resolve: {
|
||||
alias: {
|
||||
'~': path.join(__dirname, 'src/'),
|
||||
$fonts: resolve('public/fonts'),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue