2024.11.0-yumechinokuni.2 #13

Merged
yume merged 4 commits from develop into master 2024-11-11 06:24:47 -06:00
Showing only changes of commit e75d885a2c - Show all commits

View file

@ -148,6 +148,7 @@ export function getConfig(): UserConfig {
}, },
chunkFileNames: process.env.NODE_ENV === 'production' ? '[hash:8].js' : '[name]-[hash:8].js', chunkFileNames: process.env.NODE_ENV === 'production' ? '[hash:8].js' : '[name]-[hash:8].js',
assetFileNames: process.env.NODE_ENV === 'production' ? '[hash:8][extname]' : '[name]-[hash:8][extname]', assetFileNames: process.env.NODE_ENV === 'production' ? '[hash:8][extname]' : '[name]-[hash:8][extname]',
sourcemap: true,
paths(id) { paths(id) {
for (const p of externalPackages) { for (const p of externalPackages) {
if (p.match.test(id)) { if (p.match.test(id)) {
@ -163,7 +164,7 @@ export function getConfig(): UserConfig {
outDir: __dirname + '/../../built/_frontend_vite_', outDir: __dirname + '/../../built/_frontend_vite_',
assetsDir: '.', assetsDir: '.',
emptyOutDir: false, emptyOutDir: false,
sourcemap: process.env.NODE_ENV === 'development', sourcemap: true,
reportCompressedSize: false, reportCompressedSize: false,
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies // https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies