import { BuildOptions as EsbuildConfiguration } from "esbuild"; export interface QuasarSsrConfiguration { /** * If a PWA should take over or just a SPA. * @default false */ pwa?: boolean; /** * When using SSR+PWA, this is the name of the * PWA index html file that the client-side fallbacks to. * For production only. * * Do NOT use index.html as name as it will mess SSR up! * * @default 'offline.html' */ pwaOfflineHtmlFilename?: string; /** * Extend/configure the Workbox GenerateSW options * Specify Workbox options which will be applied on top of * `pwa > extendGenerateSWOptions()`. * More info: https://developer.chrome.com/docs/workbox/the-ways-of-workbox/ */ pwaExtendGenerateSWOptions?: (config: object) => void; /** * Extend/configure the Workbox InjectManifest options * Specify Workbox options which will be applied on top of * `pwa > extendInjectManifestOptions()`. * More info: https://developer.chrome.com/docs/workbox/the-ways-of-workbox/ */ pwaExtendInjectManifestOptions?: (config: object) => void; /** * Manually serialize the store state and provide it yourself * as window.__INITIAL_STATE__ to the client-side (through a