This commit is contained in:
FruitRiin 2023-11-19 19:39:36 +09:00
parent 3ea704165b
commit ec15eaf2af

View file

@ -44,7 +44,6 @@ function toBase62(n: number): string {
export function getConfig(): UserConfig { export function getConfig(): UserConfig {
return { return {
root: "src", root: "src",
publicDir: "assets",
server: { server: {
port: 5173, port: 5173,
proxy: { proxy: {
@ -60,9 +59,7 @@ export function getConfig(): UserConfig {
target: 'ws://127.0.0.1:3000/', target: 'ws://127.0.0.1:3000/',
ws: true, ws: true,
}, },
"favicon.ico": 'http://127.0.0.1:3000/', "/favicon.ico": 'http://127.0.0.1:3000/',
"client-assets": "http://127.0.0.1:3000/"
} }
}, },
@ -89,7 +86,7 @@ export function getConfig(): UserConfig {
extensions, extensions,
alias: { alias: {
'@/': __dirname + '/src/', '@/': __dirname + '/src/',
'/client-assets/': __dirname + '/assets/', '/client-assets/': __dirname + '/client-assets/',
'/static-assets/': __dirname + '/../backend/assets/', '/static-assets/': __dirname + '/../backend/assets/',
'/fluent-emojis/': __dirname + '/../../fluent-emojis/dist/', '/fluent-emojis/': __dirname + '/../../fluent-emojis/dist/',
'/fluent-emoji/': __dirname + '/../../fluent-emojis/dist/', '/fluent-emoji/': __dirname + '/../../fluent-emojis/dist/',