push
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
import type { NextConfig } from "next";
|
||||
import type { NextConfig } from 'next'
|
||||
import withPWA from 'next-pwa'
|
||||
|
||||
const isProd = process.env.NODE_ENV === 'production'
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
};
|
||||
reactStrictMode: true,
|
||||
experimental: {},
|
||||
turbopack: { root: __dirname }
|
||||
}
|
||||
|
||||
export default nextConfig;
|
||||
export default withPWA({
|
||||
dest: 'public',
|
||||
disable: !isProd,
|
||||
register: true,
|
||||
skipWaiting: true
|
||||
})(nextConfig)
|
||||
|
||||
Reference in New Issue
Block a user