File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- let userConfig = undefined
1+ let userConfig = undefined ;
22try {
3- userConfig = await import ( ' ./v0-user-next.config' )
3+ userConfig = await import ( " ./v0-user-next.config" ) ;
44} catch ( e ) {
55 // ignore error
66}
@@ -18,28 +18,26 @@ const nextConfig = {
1818 parallelServerBuildTraces : true ,
1919 parallelServerCompiles : true ,
2020 } ,
21- }
21+ output : "export" ,
22+ } ;
2223
23- mergeConfig ( nextConfig , userConfig )
24+ mergeConfig ( nextConfig , userConfig ) ;
2425
2526function mergeConfig ( nextConfig , userConfig ) {
2627 if ( ! userConfig ) {
27- return
28+ return ;
2829 }
2930
3031 for ( const key in userConfig ) {
31- if (
32- typeof nextConfig [ key ] === 'object' &&
33- ! Array . isArray ( nextConfig [ key ] )
34- ) {
32+ if ( typeof nextConfig [ key ] === "object" && ! Array . isArray ( nextConfig [ key ] ) ) {
3533 nextConfig [ key ] = {
3634 ...nextConfig [ key ] ,
3735 ...userConfig [ key ] ,
38- }
36+ } ;
3937 } else {
40- nextConfig [ key ] = userConfig [ key ]
38+ nextConfig [ key ] = userConfig [ key ] ;
4139 }
4240 }
4341}
4442
45- export default nextConfig
43+ export default nextConfig ;
You can’t perform that action at this time.
0 commit comments