feat: update next.config.ts for standalone output and enhance package.json scripts for local and test environments
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
/* config options here */
|
output: "standalone",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
@@ -4,9 +4,13 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
"local": "dotenv -e .env -- next dev",
|
||||||
|
"test": "dotenv -e .env.test -- next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
"build:local": "dotenv -e .env -- next build",
|
||||||
"build:production": "dotenv -e .env.production -- next build",
|
"build:production": "dotenv -e .env.production -- next build",
|
||||||
"build:test": "dotenv -e .env.test -- next build",
|
"build:test": "dotenv -e .env.test -- next build",
|
||||||
|
"prod": "dotenv -e .env.production -- next start",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint"
|
"lint": "eslint"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user