fix: dotenv flags error (#472)

Co-authored-by: BENLIAN <benchi.lian@thoughtworks.com>
This commit is contained in:
alexezio
2025-07-24 16:53:40 +08:00
committed by GitHub
parent f92bf0ca22
commit 89c1b689dc

View File

@@ -6,7 +6,7 @@
"scripts": {
"build": "next build",
"check": "next lint && tsc --noEmit",
"dev": "dotenv -e ../.env -- next dev --turbo",
"dev": "dotenv -f ../.env -- next dev --turbo",
"scan": "next dev & npx react-scan@latest localhost:3000",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
@@ -114,4 +114,4 @@
"sharp"
]
}
}
}