Refactor code structure for improved readability and maintainability
This commit is contained in:
13
app/frontend/next.config.js
Normal file
13
app/frontend/next.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const withPWA = require('next-pwa')({
|
||||
dest: 'public',
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
disable: process.env.NODE_ENV === 'development',
|
||||
})
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
}
|
||||
|
||||
module.exports = withPWA(nextConfig)
|
||||
Reference in New Issue
Block a user