TabScript - v2.0.2
    Preparing search index...

    Interface RollupPluginOptions

    interface RollupPluginOptions {
        debug?: boolean | ((...args: string[]) => void);
        include?: RegExp | ((id: string) => boolean);
        outputMode?: "js" | "ts";
        recover?: boolean;
        transformImport?: (uri: string) => string;
        whitespace?: "preserve" | "pretty";
    }

    Hierarchy

    • Omit<Options, "loadPlugin" | "js">
      • RollupPluginOptions
    Index

    Properties

    debug?: boolean | ((...args: string[]) => void)

    When true, logs each consumed token. If a function, calls that function instead of console.debug.

    include?: RegExp | ((id: string) => boolean)

    Include pattern for files to transform. Defaults to /.tab$/

    outputMode?: "js" | "ts"

    Output mode: 'js' (default) or 'ts'. Use 'ts' to preserve type information for subsequent type checking.

    recover?: boolean

    When true, attempts to recover from errors and continue transpilation instead of throwing.

    transformImport?: (uri: string) => string

    Function to transform import URIs during transpilation.

    whitespace?: "preserve" | "pretty"

    Output formatting mode: "preserve" maintains input alignment, "pretty" adds readable indentation.