mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
Use vite-only build for Windows release packaging.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
477ec4b120
commit
d9b52e35e5
2 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ if (-not $SkipWebBuild) {
|
|||
& npm.cmd install --prefix $webRoot
|
||||
if ($LASTEXITCODE -ne 0) { throw "npm_install_failed" }
|
||||
}
|
||||
& npm.cmd run build --prefix $webRoot
|
||||
# Release packaging skips tsc (dev CI still uses `npm run build`).
|
||||
& npm.cmd run build:release --prefix $webRoot
|
||||
if ($LASTEXITCODE -ne 0) { throw "web_build_failed" }
|
||||
}
|
||||
if (-not (Test-Path (Join-Path $dist "index.html"))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue