@oazmi/build-tools - v0.2.7
    Preparing search index...

    Type Alias PathPatternMatchingFn

    PathPatternMatchingFn: (file_path: string) => boolean | string

    a function, used by TransformationConfig, for testing if a certain file by the given file_path name should be transformed or not.

    • if the function returns a false, then the file shall not be transformed.
    • if the function returns a true, then the file will be transformed, and its name will remain the same as before (unchanged).
    • if the function returns a string, then the file will be transformed, and it will be renamed to the output string of the function.

    Type declaration

      • (file_path: string): boolean | string
      • Parameters

        • file_path: string

        Returns boolean | string