Skip to content

Commit 7b34314

Browse files
Merge pull request #1733 from OpenSignLabs/updates-15023728155
fix: correct build commands for selfhosting
2 parents c422cda + b6f1cce commit 7b34314

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

apps/OpenSign/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,14 @@
6161
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
6262
},
6363
"scripts": {
64-
"build-template-win": "vite build --config vite.public-template.config.js",
65-
"build-template": "NODE_OPTIONS=\"--max-old-space-size=8192\" vite build --config vite.public-template.config.js",
66-
"build": "npm run version && npm run build-template && NODE_OPTIONS=\"--max-old-space-size=8192\" vite build",
67-
"build-template-watch": "NODE_OPTIONS=\"--max-old-space-size=8192\" vite build --config vite.public-template.config.js --watch",
64+
"build": "npm run version && NODE_OPTIONS=\"--max-old-space-size=8192\" vite build",
6865
"start-dev": "vite",
6966
"dev": "vite",
7067
"preview": "vite preview",
7168
"start": "serve -s build",
7269
"version": "curl -s https://api.github.com/repos/opensignlabs/opensign/releases/latest | grep '\"tag_name\":' | awk -F '\"' '{print $4}' > ./public/version.txt",
7370
"version-win": "powershell -Command \"Invoke-RestMethod -Uri 'https://api.github.com/repos/opensignlabs/opensign/releases/latest' | Select-Object -ExpandProperty tag_name | Out-File -FilePath ./public/version.txt\"",
74-
"build-win": "npm run version-win && npm run build-template-win && vite build",
71+
"build-win": "npm run version-win && vite build",
7572
"test": "vitest run",
7673
"test:watch": "vitest",
7774
"release": "standard-version",
@@ -143,4 +140,4 @@
143140
"engines": {
144141
"node": "18 || 20 || 22"
145142
}
146-
}
143+
}

0 commit comments

Comments
 (0)