@scayle/storefront-nuxt
Version:
Nuxt integration for the SCAYLE Commerce Engine and Storefront API
13 lines (12 loc) • 562 B
JavaScript
/**
* Node / jiti fallback for `#virtual/rpcHttpMethods`.
*
* The real manifest is generated by the Nuxt module at app build time. Vite and
* Nitro aliases override this import during a normal Nuxt build. This file exists
* so `package.json#imports` can satisfy Node's ESM resolver when config-time code
* loads compiled runtime entry points before Nuxt has installed its aliases
* (for example when `jiti` loads the package during Nuxt bootstrap).
*
* An empty object is safe: callers treat missing keys as `POST`.
*/
export const rpcHttpMethods = {}