Skip to content

Commit

Permalink
use SWR for static exports
Browse files Browse the repository at this point in the history
  • Loading branch information
amine250 committed Oct 26, 2024
1 parent ab09af5 commit 5bf70c9
Show file tree
Hide file tree
Showing 9 changed files with 784 additions and 43 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ yarn-debug.log*
yarn-error.log*

/.vscode
/.next
/.next
/out
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
8 changes: 6 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
output: "export",
reactStrictMode: true
reactStrictMode: true,
swcMinify: true,
output: 'export',
images: {
unoptimized: true,
},
};

export default nextConfig;
Loading

0 comments on commit 5bf70c9

Please sign in to comment.