Initial deploy
هذا الالتزام موجود في:
23
next.config.mjs
Normal file
23
next.config.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
poweredByHeader: false,
|
||||
compress: true,
|
||||
images: {
|
||||
formats: ["image/avif", "image/webp"],
|
||||
},
|
||||
webpack: (config, { dev }) => {
|
||||
if (dev) {
|
||||
config.watchOptions = {
|
||||
...config.watchOptions,
|
||||
poll: 1000,
|
||||
aggregateTimeout: 300,
|
||||
ignored: /node_modules/,
|
||||
};
|
||||
}
|
||||
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
المرجع في مشكلة جديدة
حظر مستخدم