This commit is contained in:
@@ -42,6 +42,17 @@ const nextConfig = {
|
||||
missingSuspenseWithCSRBailout: false,
|
||||
},
|
||||
|
||||
// 5.1. Webpack config to suppress warnings
|
||||
webpack: (config, { dev, isServer }) => {
|
||||
if (!dev && !isServer) {
|
||||
config.stats = {
|
||||
...config.stats,
|
||||
warnings: false,
|
||||
};
|
||||
}
|
||||
return config;
|
||||
},
|
||||
|
||||
// 5.1. Security Headers + MIME Types
|
||||
async headers() {
|
||||
return [
|
||||
|
||||
@@ -75,10 +75,5 @@
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5",
|
||||
"vitest": "^4.0.15"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"baseline-browser-mapping": "latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user