Skip to main content

Hooks

Index

Properties

optionalbeforeWorkspacePacking

beforeWorkspacePacking?: (workspace: Workspace, rawManifest: object) => void | Promise<void>

Called before a workspace is packed. The rawManifest value passed in parameter is allowed to be mutated at will, with the changes being only applied to the packed manifest (the original one won't be mutated).


Type declaration

    • (workspace: Workspace, rawManifest: object): void | Promise<void>
    • Called before a workspace is packed. The rawManifest value passed in parameter is allowed to be mutated at will, with the changes being only applied to the packed manifest (the original one won't be mutated).


      Parameters

      Returns void | Promise<void>