Astro Node.js Fastify adapter
    Preparing search index...

    Interface AssetCompressionOptions

    Controls which files are processed for asset pre-compression. Note that the compression version will only be used if it is smaller than the source.

    interface AssetCompressionOptions {
        fileExtensions: string[];
        threshold: number;
    }
    Index

    Properties

    fileExtensions: string[]

    Lists every file extension that should be processed for asset pre-compression.

    ['.css', '.js', '.html', '.xml', '.cjs', '.mjs', '.svg', '.txt', '.json']
    
    threshold: number

    The minimum file size for asset pre-compression to take place.

    1024