Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias SpoolViteOptions

    what spoolVite takes

    type SpoolViteOptions = {
        spool: Spool;
        static?: StaticOption;
    }
    Index
    spool: Spool

    the instance the app's routes were declared for; the dev server answers from it

    static?: StaticOption

    Publishes the static tier into the build's output directory when a client build ends: the page runtime, the worker script, the packs and a _headers rule, all served by a static host with no Worker invocation. On by default; false turns it off, and an object sets policy, url or a spool made from the build output. The dev server does not publish.