Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build issue for vercel #193

Merged
merged 2 commits into from
Mar 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix build issue",
"packageName": "@acedatacloud/nexior",
"email": "office@acedata.cloud",
"dependentChangeType": "patch"
}
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@acedatacloud/nexior",
"version": "2.17.1",
"author": "Germey Technology <dev@germey.tech>",
"author": "Ace Data Cloud <office@acedata.cloud>",
"repository": {
"type": "git",
"url": "git+https://github.com/AceDataCloud/Nexior.git"
Expand All @@ -11,12 +11,12 @@
],
"scripts": {
"start": "vite --host",
"build": "yarn build:web",
"build": "npm run build:web",
"build:web": "cross-env VITE_SURFACE=web vite build --mode development",
"build:android": "cross-env VITE_SURFACE=android vite build --mode development",
"build:ios": "cross-env VITE_SURFACE=ios vite build --mode development",
"pack:android": "yarn build:android && npx cap copy android",
"pack:ios": "yarn build:ios && npx cap copy ios",
"pack:android": "npm run build:android && npx cap copy android",
"pack:ios": "npm run build:ios && npx cap copy ios",
"serve": "vite preview",
"translate": "transmart",
"lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
Expand Down Expand Up @@ -115,5 +115,8 @@
"url": "https://github.com/AceDataCloud/Nexior/issues"
},
"homepage": "https://github.com/AceDataCloud/Nexior#readme",
"license": "MIT"
"license": "MIT",
"engines": {
"node": "20.x"
}
}
2 changes: 2 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"version": 2,
"buildCommand": "npm run build",
"installCommand": "yarn",
"routes": [{ "handle": "filesystem" }, { "src": "/(.*)", "dest": "/index.html" }]
}
Loading
Loading