Many features

This commit is contained in:
2026-03-10 22:36:21 +01:00
parent df309d088c
commit d2c4152ea7
12 changed files with 1034 additions and 120 deletions

View File

@@ -1246,6 +1246,10 @@ function toBundleRelativePath(inputPath) {
function detectBundleContentType(assetPath) {
const extension = path.extname(assetPath).toLowerCase();
switch (extension) {
case '.mp3':
return 'audio/mpeg';
case '.m4a':
return 'audio/mp4';
case '.css':
return 'text/css; charset=utf-8';
case '.html':

View File

@@ -1869,6 +1869,10 @@ function detectBundleContentType(assetPath: string): string {
const extension = path.extname(assetPath).toLowerCase();
switch (extension) {
case '.mp3':
return 'audio/mpeg';
case '.m4a':
return 'audio/mp4';
case '.css':
return 'text/css; charset=utf-8';
case '.html':