NPM Build Utilities @ 0.1.3
    Preparing search index...

    Interface Replace

    Placeholders to be replaced during the build processes.

    0.1.0-alpha

    interface Replace {
        current?: [string | RegExp, string][];
        package?: [string | RegExp, string][];
    }
    Index

    Properties

    Properties

    current?: [string | RegExp, string][]

    These placeholders are only ever replaced in compiled files and should never be replaced in the source.

    This is handy for e.g., the current package version or url in source file doc comments.

    package?: [string | RegExp, string][]

    These placeholders are replaced in the source ONLY during a non-dryrun release stage.

    This is handy for e.g., the package version in a doc comment's @since tag for a new function/class/etc.