Skip to content

docs(pwa): add guide for environment-specific manifests (#10458)#11837

Open
yahyanaujid wants to merge 1 commit intofacebook:mainfrom
yahyanaujid:docs-pwa-manifests
Open

docs(pwa): add guide for environment-specific manifests (#10458)#11837
yahyanaujid wants to merge 1 commit intofacebook:mainfrom
yahyanaujid:docs-pwa-manifests

Conversation

@yahyanaujid
Copy link
Copy Markdown

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Closes #10458.

The current PWA plugin documentation does not explain how to handle multiple manifest.json files for different environments (e.g., staging vs. production). This PR adds a brief guide demonstrating how to manage environment-specific manifests using a pre-build file copy script in package.json, which is the safest and most standard approach.

Test Plan

N/A - This is a pure documentation update. Verified MDX formatting and layout locally.

Related issues/PRs

Resolves #10458

@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Mar 25, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 25, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 5de6940
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69c3d4c1063e340008fb394a
😎 Deploy Preview https://deploy-preview-11837--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugin-pwa: Usage of placeholders in manifest.json allowing implementation of manifest.json for different deployment environments

1 participant