INNER CODE UNIT · TypeScript
getImageProvider
scottyzen/woonuxt · woonuxt_base/nuxt.config.ts:16
const getImageProvider = () => process.env.NUXT_IMAGE_PROVIDER?.trim().toLowerCase() || 'none';
export default defineNuxtConfig({
compatibilityDate: '2026-08-16',
experimental: {
appManifest: false,
// Preserves the Nuxt SSR context across `await` boundaries in composables (native AsyncLocalStorage-based
// tracking) so calls like useAuthTokens/useCart/useAuth after an await don't trigger NUXT_E1001 on the server.
asyncContext: true,
},
vite: {
plugins: [tailwindcss()],
optimizeDeps: {
include: [
'@stripe/stripe-js/pure',
'@vue/devtools-core',