Skip to content

Commit

Permalink
edit config
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyynh committed Nov 17, 2024
1 parent 08ea3f8 commit c341201
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 9 additions & 5 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: "export",
images: {
unoptimized: true,
},
assetPrefix: "./",
};

export default nextConfig;
module.exports = nextConfig;
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"export": "next export",
"deploy": "next build && next export && touch out/.nojekyll"
},
"dependencies": {
"react": "19.0.0-rc-66855b96-20241106",
Expand Down

0 comments on commit c341201

Please sign in to comment.