Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
34
node_modules/astro/dist/assets/consts.js
generated
vendored
Normal file
34
node_modules/astro/dist/assets/consts.js
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
const VIRTUAL_MODULE_ID = "astro:assets";
|
||||
const VIRTUAL_SERVICE_ID = "virtual:image-service";
|
||||
const VALID_INPUT_FORMATS = [
|
||||
"jpeg",
|
||||
"jpg",
|
||||
"png",
|
||||
"tiff",
|
||||
"webp",
|
||||
"gif",
|
||||
"svg",
|
||||
"avif"
|
||||
];
|
||||
const VALID_SUPPORTED_FORMATS = [
|
||||
"jpeg",
|
||||
"jpg",
|
||||
"png",
|
||||
"tiff",
|
||||
"webp",
|
||||
"gif",
|
||||
"svg",
|
||||
"avif"
|
||||
];
|
||||
const DEFAULT_OUTPUT_FORMAT = "webp";
|
||||
const VALID_OUTPUT_FORMATS = ["avif", "png", "webp", "jpeg", "jpg", "svg"];
|
||||
const DEFAULT_HASH_PROPS = ["src", "width", "height", "format", "quality"];
|
||||
export {
|
||||
DEFAULT_HASH_PROPS,
|
||||
DEFAULT_OUTPUT_FORMAT,
|
||||
VALID_INPUT_FORMATS,
|
||||
VALID_OUTPUT_FORMATS,
|
||||
VALID_SUPPORTED_FORMATS,
|
||||
VIRTUAL_MODULE_ID,
|
||||
VIRTUAL_SERVICE_ID
|
||||
};
|
Reference in New Issue
Block a user