KC's Workspace
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    depsOptimizer?: DepsOptimizer

    Hot channel for this environment. If not provided or disabled, it will be a noop channel that does nothing.

    environment.hot.send({ type: 'full-reload' })
    
    logger: Logger
    mode: "dev"
    name: string

    Accessors

    Methods

    • Experimental

      Calling await environment.waitForRequestsIdle(id) will wait until all static imports are processed after the first transformRequest call. If called from a load or transform plugin hook, the id needs to be passed as a parameter to avoid deadlocks. Calling this function after the first static imports section of the module graph has been processed will resolve immediately.

      Parameters

      • OptionalignoredId: string

      Returns Promise<void>