astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
22 lines (21 loc) • 441 B
JavaScript
import { defineConfig, getViteConfig } from "./index.js";
import { envField } from "../env/config.js";
function sharpImageService(config = {}) {
return {
entrypoint: "astro/assets/services/sharp",
config
};
}
function passthroughImageService() {
return {
entrypoint: "astro/assets/services/noop",
config: {}
};
}
export {
defineConfig,
envField,
getViteConfig,
passthroughImageService,
sharpImageService
};