Skip to content

Commit

Permalink
✨ feat(pwa): adding pwa for mmswe
Browse files Browse the repository at this point in the history
  • Loading branch information
lwinmoepaing committed Oct 19, 2023
1 parent b5f6414 commit 9836bdb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
8 changes: 7 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
const { withContentlayer } = require("next-contentlayer");
const path = require("path");
const withPwa = require("next-pwa");

/** @type {import('next').NextConfig} */
const nextConfig = {
...withPwa({
dest: "public",
register: true,
skipWaiting: true,
}),
reactStrictMode: true,
swcMinify: true,
output: "export",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"lint-staged": "^14.0.1",
"next": "13.5.4",
"next-contentlayer": "^0.3.4",
"next-pwa": "^5.6.0",
"react": "^18",
"react-dom": "^18",
"react-icons": "^4.11.0",
Expand Down

0 comments on commit 9836bdb

Please sign in to comment.