🔧 chore(frontend): update build script in package.json to set NODE_ENV=development for build command
🔧 chore(frontend): add BASE_URL_API constant to constants.ts to store API base URL 🔧 chore(frontend): update API endpoints in controllers to use BASE_URL_API constant for better maintainability and flexibility
This commit is contained in:
parent
ff72640e76
commit
b5987318f6
3 changed files with 12 additions and 8 deletions
|
|
@ -69,7 +69,7 @@
|
|||
"scripts": {
|
||||
"dev:docker": "vite --host 0.0.0.0",
|
||||
"start": "vite",
|
||||
"build": "vite build",
|
||||
"build": "vite build NODE_ENV=development",
|
||||
"serve": "vite preview",
|
||||
"format": "npx prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\""
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue