Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STRF-9948] - paper-handlebars - resourceHints helper add new early-hints flag param #188

Merged
merged 9 commits into from
Aug 22, 2022

Conversation

rafa-avila-bc
Copy link
Contributor

What? Why?

  1. By default data for resource hints is generated for anything the resourceHints helper generates link tags, right now only font providers.
  2. getFontsCollection helper takes in an optional resourceHint='{REL}' attribute indicating whether or not to generate data resource hints.

How was it tested?

unit tests


cc @bigcommerce/storefront-team

@rafa-avila-bc rafa-avila-bc self-assigned this Aug 18, 2022
helpers/lib/resourceHints.js Outdated Show resolved Hide resolved
helpers/resourceHints.js Show resolved Hide resolved
helpers/resourceHints.js Show resolved Hide resolved
@bc-atlantis
Copy link

Atlantis commands can't be run on fork pull requests. To enable, set --allow-fork-prs or, to disable this message, set --silence-fork-pr-errors

@rafa-avila-bc rafa-avila-bc merged commit 9f405b9 into bigcommerce:master Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants