mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-29 03:42:42 +01:00
Fetch the React client for Windows builds instead of bundling Vue
This commit is contained in:
1 parent
ce25867efd
commit
9ad14bd319
1 file changed
+3
-4
+3
-4
@@ -11,9 +11,9 @@
|
||||
"start": "node dist-server/index.js",
|
||||
"start-dev": "node dist-server/index.js --prod-with-dev-env",
|
||||
"client": "cd client && npm ci && npm run generate",
|
||||
"prod": "npm run client && npm ci && npm run build:server && npm run start",
|
||||
"build-win": "npm run client && npm run build:server && pkg --config package.json -t node24-win-x64 -o ./dist/win/audiobookshelf -C GZip dist-server/index.js",
|
||||
"build-win-no-compress": "npm run client && npm run build:server && pkg --config package.json -t node24-win-x64 -o ./dist/win/audiobookshelf dist-server/index.js",
|
||||
"prod": "npm ci && npm run build:server && npm run start",
|
||||
"build-win": "node scripts/fetch-client-react-runtime.js --out dist/win/client-react && npm run build:server && pkg --config package.json -t node24-win-x64 -o ./dist/win/audiobookshelf -C GZip dist-server/index.js",
|
||||
"build-win-no-compress": "node scripts/fetch-client-react-runtime.js --out dist/win/client-react && npm run build:server && pkg --config package.json -t node24-win-x64 -o ./dist/win/audiobookshelf dist-server/index.js",
|
||||
"build-linux": "build/linuxpackager",
|
||||
"docker": "docker buildx build --platform linux/amd64,linux/arm64 --push . -t advplyr/audiobookshelf",
|
||||
"docker-amd64-local": "docker buildx build --platform linux/amd64 --load . -t advplyr/audiobookshelf-amd64-local",
|
||||
@@ -26,7 +26,6 @@
|
||||
"bin": "dist-server/index.js",
|
||||
"pkg": {
|
||||
"assets": [
|
||||
"client/dist/**/*",
|
||||
"node_modules/sqlite3/lib/binding/**/*.node",
|
||||
"dist-server/server/migrations/*.js"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user