Skip to content

Commit ba61f6a

Browse files
committed
changes2
1 parent 456e514 commit ba61f6a

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

next.config.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {
3-
output: 'export',
4-
images: { // disable Next’s image optimiser (not available in export mode)
5-
unoptimized: true
6-
}
2+
export default {
3+
// NO 'output: export' here
4+
images: { unoptimized: false } // (optional) restore default optimisation
75
};
8-
export default nextConfig;
6+

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "next dev",
7-
"build": "next build",
8-
"start": "npx serve -s out -l 8080"
9-
},
6+
"build": "next build",
7+
"start": "next start -p 8080",
8+
"dev": "next dev"
9+
}
10+
,
1011
"dependencies": {
1112
"@heroicons/react": "^2.2.0",
1213
"next": "15.3.4",

0 commit comments

Comments
 (0)