mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-23 10:36:09 +00:00
🪛 chore: Align Vite Build Config With Native ESM (#15495)
* fix: Resolve Vite build warnings * style: Sort token usage transition classes
This commit is contained in:
parent
6372cb08ee
commit
29e9d08163
2 changed files with 4 additions and 4 deletions
|
|
@ -204,7 +204,7 @@ export default function Breakdown({
|
|||
: formatTokens(usedTokens)}
|
||||
<ChevronDown
|
||||
aria-hidden="true"
|
||||
className="ease-[cubic-bezier(0,0,0.2,1)] size-3.5 shrink-0 text-text-tertiary transition-transform duration-300 group-data-[state=open]:rotate-180 motion-reduce:transition-none"
|
||||
className="size-3.5 shrink-0 text-text-tertiary transition-transform duration-300 ease-out group-data-[state=open]:rotate-180 motion-reduce:transition-none"
|
||||
/>
|
||||
</span>
|
||||
</CollapsibleTrigger>
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ export default defineConfig(({ command }) => ({
|
|||
this.emitFile({
|
||||
type: 'asset',
|
||||
fileName: 'sw-heal.js',
|
||||
source: fs.readFileSync(path.resolve(__dirname, 'sw/heal.js'), 'utf8'),
|
||||
source: fs.readFileSync(path.resolve(import.meta.dirname, 'sw/heal.js'), 'utf8'),
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
@ -422,8 +422,8 @@ export default defineConfig(({ command }) => ({
|
|||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.join(__dirname, 'src/'),
|
||||
$fonts: path.resolve(__dirname, 'public/fonts'),
|
||||
'~': path.join(import.meta.dirname, 'src/'),
|
||||
$fonts: path.resolve(import.meta.dirname, 'public/fonts'),
|
||||
'micromark-extension-math': 'micromark-extension-llm-math',
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue