Bun

interface

module.default.EnableCompileCacheResult

interface EnableCompileCacheResult

  • directory?: string

    If the compile cache is enabled, this contains the directory where the compile cache is stored. Only set if status is module.constants.compileCacheStatus.ENABLED or module.constants.compileCacheStatus.ALREADY_ENABLED.

  • message?: string

    If Node.js cannot enable the compile cache, this contains the error message. Only set if status is module.constants.compileCacheStatus.FAILED.

  • status: number

    One of the constants.compileCacheStatus