Skip to content

Commit

Permalink
fix: migrate nextjs part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Oct 2, 2023
1 parent 1a95df9 commit 894ed8f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/admin-web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const nextConfig = {
},
eslint: {
ignoreDuringBuilds: true,
}
},
}

module.exports = nextConfig
2 changes: 1 addition & 1 deletion apps/admin-web/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Document() {
<Html lang="en">
<Head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="true" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Prompt:wght@400;500;700&display=swap"
rel="stylesheet"
Expand Down
4 changes: 2 additions & 2 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ const nextConfig = {
]
},
output: 'standalone',
transpilePackages: ['@cgr/course-utils', '@cgr/codegen'],
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),
transpilePackages: ['@cgr/course-utils', '@cgr/codegen'],
},
eslint: {
ignoreDuringBuilds: true,
}
},
}

module.exports = nextConfig
2 changes: 1 addition & 1 deletion apps/web/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class MyDocument extends Document {
<Head>
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="true" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;700&display=swap"
Expand Down

0 comments on commit 894ed8f

Please sign in to comment.