Skip to content

Static does not work with fingerprinting #536

Open
@mokkabonna

Description

Steps to reproduce
Steps to reproduce the behavior:

  1. Setup static with fingerprinting
@static
fingerprint true
  1. Use static helper to get fingerprinted path of asset
  2. deploy

Expected behavior
Expect the static helper to get the fingerprinted path. It does not. it only get the non fingerprinted path.

Seems this is the problem:
Why does the code look here(node_modules folder) https://github.com/architect/functions/blob/main/src/static/index.js#L18 for the manifest? While the file is written to /public/static.json? https://github.com/architect/deploy/blob/main/src/static/publish/write-static-manifest.js#L11

@architect/functions 5.2.3
@architect/architect 10.7.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions