move flag parsing to main, add debug mime types

This commit is contained in:
2025-09-25 00:27:24 +00:00
parent fc42de2c49
commit d95a82f248
3 changed files with 44 additions and 7 deletions

View File

@@ -51,3 +51,41 @@ var MimeTypes = map[string]MimeType{
Minifier: nil,
},
}
// debug mime types
/*
var MimeTypes = map[string]MimeType{
"css": {
Type: "text/css",
Minifier: nil,
},
"html": {
Type: "text/html",
Minifier: nil,
},
"tmpl": {
Type: "text/plain",
Minifier: nil,
},
"frag": {
Type: "text/plain",
Minifier: nil,
},
"svg": {
Type: "image/svg+xml",
Minifier: nil,
},
"js": {
Type: "application/javascript",
Minifier: nil,
},
"wasm": {
Type: "application/wasm",
Minifier: nil,
},
"*": {
Type: "text/plain",
Minifier: nil,
},
}
*/