Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,13 @@ GhostClass is optimized for maximum performance:
By default, service workers are disabled in development to avoid caching issues. To test PWA functionality (offline mode, caching, install prompts) during development:
```bash
# Unix/Linux/macOS
ENABLE_SW_IN_DEV="true" npm run dev
NEXT_PUBLIC_ENABLE_SW_IN_DEV="true" npm run dev

# Windows Command Prompt
set ENABLE_SW_IN_DEV=true && npm run dev
set NEXT_PUBLIC_ENABLE_SW_IN_DEV=true && npm run dev

# Windows PowerShell
$env:ENABLE_SW_IN_DEV="true"; npm run dev
$env:NEXT_PUBLIC_ENABLE_SW_IN_DEV="true"; npm run dev
```
This enables the service worker in development mode without requiring a production build.

Expand Down
205 changes: 70 additions & 135 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"cookies-next": "^6.1.1",
"date-fns": "^4.1.0",
"framer-motion": "^12.6.5",
"glob": "^13.0.1",
"glob": "^11.0.0",
"ldrs": "^1.1.6",
"lodash-es": "^4.17.23",
"lucide-react": "^0.563.0",
Expand Down