Skip to content

how to hook in to publish a bundle with injected version #718

@JoernT

Description

@JoernT

I'd like to use rollup-plugin-version-injector to inject a version property into my bundle but i can't find the right hook to do so with np. I tried several of the hooks like 'prepublish' 'version' and 'publish' but np always quits as the called script will modify the git and np exits.

Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions