• Scans local GLB/glTF files to determine which engine components are actually used, then rewrites the engine's codegen/register_types.ts so that unused components are registered lazily via TypeStore.addLazy() instead of eagerly imported.

    Parameters

    • command: "build" | "serve"
    • config: undefined | null | needleMeta
    • userSettings: userSettings

    Returns undefined | Plugin$1<any>