feat: move to nextjs
This commit is contained in:
16
next.config.js
Normal file
16
next.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
webpack: (config) => {
|
||||
config.resolve.fallback = { fs: false, net: false, tls: false };
|
||||
config.externals.push("pino-pretty");
|
||||
return config;
|
||||
},
|
||||
compiler: {
|
||||
styledComponents: true,
|
||||
},
|
||||
experimental: {
|
||||
windowHistorySupport: true,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
Reference in New Issue
Block a user