We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b59a8a4 commit 2494103Copy full SHA for 2494103
1 file changed
next.config.js
@@ -1,6 +1,7 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
output: "export",
4
+ basePath: "/MYblog",
5
trailingSlash: true,
6
distDir: "out",
7
eslint: {
@@ -15,18 +16,7 @@ const nextConfig = {
15
16
staticPageGenerationTimeout: 300,
17
swcMinify: true,
18
poweredByHeader: false,
- reactStrictMode: false,
19
+ reactStrictMode: false
20
}
21
-module.exports = nextConfig
22
-// next.config.mjs
23
-/** @type {import('next').NextConfig} */
24
-const nextConfig = {
25
- output: 'export', // برای static export
26
- basePath: '/MYblog', // نام ریپوی شما در گیتهاب
27
- images: {
28
- unoptimized: true,
29
- },
30
-};
31
-
32
-export default nextConfig;
+module.exports = nextConfig;
0 commit comments