diff options
| author | Factiven <[email protected]> | 2023-04-11 23:23:29 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-04-11 23:23:29 +0700 |
| commit | 1fcdd9f7d859b925bf92265f441655d5522e351c (patch) | |
| tree | 86391522f6fcc70d105f7e796a9f91d132ee4a29 /next.config.js | |
| parent | Initial commit (diff) | |
| download | moopa-1fcdd9f7d859b925bf92265f441655d5522e351c.tar.xz moopa-1fcdd9f7d859b925bf92265f441655d5522e351c.zip | |
initial commit
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..5858743 --- /dev/null +++ b/next.config.js @@ -0,0 +1,16 @@ +/** @type {import('next').NextConfig} */ + +const withPWA = require("next-pwa")({ + dest: "public", + register: true, + disable: process.env.NODE_ENV === "development", +}); + +module.exports = withPWA({ + reactStrictMode: false, + images: { + domains: ["tenor.com"], + unoptimized: true, + }, + trailingSlash: true, +}); |