Merge remote-tracking branch 'misskey/master' into feature/2024.9.0

This commit is contained in:
dakkar 2024-10-09 15:17:22 +01:00
commit f00576bce6
564 changed files with 19993 additions and 8169 deletions

View file

@ -66,6 +66,9 @@ export function getConfig(): UserConfig {
server: {
port: 5173,
headers: { // なんか効かない
'X-Frame-Options': 'DENY',
},
},
plugins: [
@ -89,6 +92,7 @@ export function getConfig(): UserConfig {
extensions,
alias: {
'@/': __dirname + '/src/',
'@@/': __dirname + '/../frontend-shared/',
'/client-assets/': __dirname + '/assets/',
'/static-assets/': __dirname + '/../backend/assets/',
'/fluent-emojis/': __dirname + '/../../fluent-emojis/dist/',
@ -151,7 +155,7 @@ export function getConfig(): UserConfig {
},
},
cssCodeSplit: true,
outDir: __dirname + '/../../built/_vite_',
outDir: __dirname + '/../../built/_frontend_vite_',
assetsDir: '.',
emptyOutDir: false,
sourcemap: process.env.NODE_ENV === 'development',