Spaces:
Sleeping
Sleeping
Commit ·
0c08b0b
1
Parent(s): 6d04344
- frontend/next.config.ts +5 -9
- frontend/package.json +1 -1
frontend/next.config.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
| 1 |
import type { NextConfig } from "next";
|
| 2 |
-
import path from "path";
|
| 3 |
|
| 4 |
const nextConfig: NextConfig = {
|
| 5 |
// Standalone output for Docker deployment
|
| 6 |
output: 'standalone',
|
| 7 |
|
| 8 |
-
//
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
'@': dir,
|
| 14 |
-
};
|
| 15 |
-
return config;
|
| 16 |
},
|
| 17 |
|
| 18 |
// Image optimization
|
|
|
|
| 1 |
import type { NextConfig } from "next";
|
|
|
|
| 2 |
|
| 3 |
const nextConfig: NextConfig = {
|
| 4 |
// Standalone output for Docker deployment
|
| 5 |
output: 'standalone',
|
| 6 |
|
| 7 |
+
// Turbopack configuration for path aliases (Next.js 16 default)
|
| 8 |
+
turbopack: {
|
| 9 |
+
resolveAlias: {
|
| 10 |
+
'@/*': ['./*'],
|
| 11 |
+
},
|
|
|
|
|
|
|
|
|
|
| 12 |
},
|
| 13 |
|
| 14 |
// Image optimization
|
frontend/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"private": true,
|
| 5 |
"scripts": {
|
| 6 |
"dev": "next dev",
|
| 7 |
-
"build": "next build
|
| 8 |
"start": "next start",
|
| 9 |
"lint": "eslint"
|
| 10 |
},
|
|
|
|
| 4 |
"private": true,
|
| 5 |
"scripts": {
|
| 6 |
"dev": "next dev",
|
| 7 |
+
"build": "next build",
|
| 8 |
"start": "next start",
|
| 9 |
"lint": "eslint"
|
| 10 |
},
|