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

fix(gatsby-plugin-manifest): consider path prefix when getting localized manifest #34174

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

marvinjude
Copy link
Contributor

@marvinjude marvinjude commented Dec 2, 2021

Description

Apps built with --pathPrefix need to consider pathPrefix when getting localized manifest from plugin config. This PR address that

Documentation

https://www.gatsbyjs.com/plugins/gatsby-plugin-manifest/#localization-configuration

Related Issues

fixes #33965

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 2, 2021
@LekoArts LekoArts added topic: plugins-PWA Issues related to PWA: the gatsby-plugin-offline and gatsby-plugin-manifest plugins and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Dec 3, 2021
@LekoArts
Copy link
Contributor

LekoArts commented Dec 3, 2021

Cool! You'll need to run the format npm script locally to get the lint test passing. Can you also please fill out the description to say what this change is doing? Thanks!

@marvinjude marvinjude changed the title fix(gatsby-plugin-manifest): conditionally apply path prefix to localized manifest fix(gatsby-plugin-manifest): consider path prefix when getting localized manifest Dec 3, 2021
@wardpeet wardpeet added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Dec 3, 2021
wardpeet
wardpeet previously approved these changes Dec 3, 2021
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gatsbybot gatsbybot merged commit 190b7b8 into master Dec 3, 2021
@gatsbybot gatsbybot deleted the fix/manifest-local branch December 3, 2021 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes topic: plugins-PWA Issues related to PWA: the gatsby-plugin-offline and gatsby-plugin-manifest plugins
Projects
None yet
4 participants