Skip to content

Commit

Permalink
think i fixed the next config
Browse files Browse the repository at this point in the history
  • Loading branch information
bibschan committed Aug 11, 2024
1 parent 9a788ba commit ee0112d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
12 changes: 0 additions & 12 deletions next.config.js

This file was deleted.

19 changes: 19 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// /** @type {import('next').NextConfig} */
// const nextConfig = {
// output: "export",
// basePath: "/vanjs.github.io",
// };

// export default nextConfig;

export default (phase, { defaultConfig }) => {
/**
* @type {import('next').NextConfig}
*/

const nextConfig = {
basePath: phase !== "phase-development-server" ? "/vanjs.github.io" : "",
};

return nextConfig;
};

0 comments on commit ee0112d

Please sign in to comment.