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:
30
node_modules/astro/dist/assets/utils/index.js
generated
vendored
Normal file
30
node_modules/astro/dist/assets/utils/index.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { emitESMImage } from "./node/emitAsset.js";
|
||||
import { isESMImportedImage, isRemoteImage } from "./imageKind.js";
|
||||
import { imageMetadata } from "./metadata.js";
|
||||
import { getOrigQueryParams } from "./queryParams.js";
|
||||
import {
|
||||
isRemoteAllowed,
|
||||
matchHostname,
|
||||
matchPathname,
|
||||
matchPattern,
|
||||
matchPort,
|
||||
matchProtocol
|
||||
} from "./remotePattern.js";
|
||||
import { hashTransform, propsToFilename } from "./transformToPath.js";
|
||||
import { inferRemoteSize } from "./remoteProbe.js";
|
||||
export {
|
||||
emitESMImage,
|
||||
getOrigQueryParams,
|
||||
hashTransform,
|
||||
imageMetadata,
|
||||
inferRemoteSize,
|
||||
isESMImportedImage,
|
||||
isRemoteAllowed,
|
||||
isRemoteImage,
|
||||
matchHostname,
|
||||
matchPathname,
|
||||
matchPattern,
|
||||
matchPort,
|
||||
matchProtocol,
|
||||
propsToFilename
|
||||
};
|
Reference in New Issue
Block a user