mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
⚒️ Fix next.config.
This commit is contained in:
parent
f5126fd4ed
commit
b13cf32cf7
@ -1,7 +1,7 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const withPWA = require("next-pwa");
|
const withPWA = require("next-pwa");
|
||||||
|
|
||||||
module.exports = withPWA({
|
const nextConfig = withPWA({
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
pwa: {
|
pwa: {
|
||||||
dest: "public",
|
dest: "public",
|
||||||
@ -10,3 +10,5 @@ module.exports = withPWA({
|
|||||||
disable: process.env.NODE_ENV === "development",
|
disable: process.env.NODE_ENV === "development",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
module.exports = nextConfig;
|
||||||
|
Loading…
Reference in New Issue
Block a user