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:
23
node_modules/astro/config.mjs
generated
vendored
Normal file
23
node_modules/astro/config.mjs
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
export { defineConfig, getViteConfig } from './dist/config/index.js';
|
||||
export { envField } from './dist/env/config.js';
|
||||
|
||||
export function sharpImageService(config = {}) {
|
||||
return {
|
||||
entrypoint: 'astro/assets/services/sharp',
|
||||
config,
|
||||
};
|
||||
}
|
||||
|
||||
export function squooshImageService() {
|
||||
return {
|
||||
entrypoint: 'astro/assets/services/squoosh',
|
||||
config: {},
|
||||
};
|
||||
}
|
||||
|
||||
export function passthroughImageService() {
|
||||
return {
|
||||
entrypoint: 'astro/assets/services/noop',
|
||||
config: {},
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user