Skip to content

Commit 16cb27c

Browse files
committed
hdfsg
1 parent abc232e commit 16cb27c

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.DS_Store

0 Bytes
Binary file not shown.

next.config.mjs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
let userConfig = undefined
1+
let userConfig = undefined;
22
try {
3-
userConfig = await import('./v0-user-next.config')
3+
userConfig = await import('./v0-user-next.config');
44
} catch (e) {
55
// ignore error
66
}
77

88
/** @type {import('next').NextConfig} */
99
const nextConfig = {
10+
output: 'export', // enable static export
1011
eslint: {
1112
ignoreDuringBuilds: true,
1213
},
@@ -21,14 +22,12 @@ const nextConfig = {
2122
parallelServerBuildTraces: true,
2223
parallelServerCompiles: true,
2324
},
24-
}
25+
};
2526

26-
mergeConfig(nextConfig, userConfig)
27+
mergeConfig(nextConfig, userConfig);
2728

2829
function mergeConfig(nextConfig, userConfig) {
29-
if (!userConfig) {
30-
return
31-
}
30+
if (!userConfig) return;
3231

3332
for (const key in userConfig) {
3433
if (
@@ -38,11 +37,11 @@ function mergeConfig(nextConfig, userConfig) {
3837
nextConfig[key] = {
3938
...nextConfig[key],
4039
...userConfig[key],
41-
}
40+
};
4241
} else {
43-
nextConfig[key] = userConfig[key]
42+
nextConfig[key] = userConfig[key];
4443
}
4544
}
4645
}
4746

48-
export default nextConfig
47+
export default nextConfig;

0 commit comments

Comments
 (0)