[PR #25313] chore: ignore PWA generated files in version control #31004

Closed
opened 2026-02-21 20:48:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/25313

State: closed
Merged: Yes


Summary

  • Untracked existing PWA generated files from git
  • Added PWA file patterns to root .gitignore to prevent future tracking

Closes #25312

Changes

  • Removed tracked PWA files (sw.js, fallback-*.js) from git index
  • Added ignore patterns for PWA generated files in root .gitignore:
    • web/public/sw.js and .map files
    • web/public/workbox-*.js and .map files
    • web/public/fallback-*.js files

These files are build artifacts that get regenerated with different hashes on each build and should not be in version control.

**Original Pull Request:** https://github.com/langgenius/dify/pull/25313 **State:** closed **Merged:** Yes --- ## Summary - Untracked existing PWA generated files from git - Added PWA file patterns to root `.gitignore` to prevent future tracking Closes #25312 ## Changes - Removed tracked PWA files (`sw.js`, `fallback-*.js`) from git index - Added ignore patterns for PWA generated files in root `.gitignore`: - `web/public/sw.js` and `.map` files - `web/public/workbox-*.js` and `.map` files - `web/public/fallback-*.js` files These files are build artifacts that get regenerated with different hashes on each build and should not be in version control.
yindo added the pull-request label 2026-02-21 20:48:38 -05:00
yindo closed this issue 2026-02-21 20:48:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#31004