Skip to content

Commit

Permalink
configure basepath and output to static files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogouveia3 committed Apr 14, 2024
1 parent 0579782 commit 605a938
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/out/

# production
/build
# /build

# misc
.DS_Store
Expand Down
6 changes: 5 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
basePath: "/rcrd-beta",
output: "export", // <=== enables static exports
reactStrictMode: true,
};

export default nextConfig;

0 comments on commit 605a938

Please sign in to comment.