Express Sweet API Reference - v3.0.0
    Preparing search index...
    • Returns the Assets path containing the file update time parameter.

      Parameters

      • filePath: string

        Paths of Assets files such as CSS and JS in public directories.

      • OptionalbaseUrl: string

        Application Origin URL. The default is none (undefined).

      Returns string

      Returns the Assets file path with the update date and time parameters.

      {{!-- results in: example.com/assets/style.css?1620526340463 --}}
      {{cacheBusting '/assets/style.css' '//example.com'}}