Remove compression and separate packaging

This commit is contained in:
Daniel Hougaard
2024-07-06 01:32:18 +02:00
parent 0c79303582
commit 8df7401e06
+2 -2
View File
@@ -25,8 +25,8 @@
"outputPath": "binary" "outputPath": "binary"
}, },
"scripts": { "scripts": {
"binary:build": "npm run binary:clean && npm run build:frontend && npm run build && npm run binary:babel-frontend && npm run binary:babel-backend && npm run binary:rename-imports && npm run binary:package", "binary:build": "npm run binary:clean && npm run build:frontend && npm run build && npm run binary:babel-frontend && npm run binary:babel-backend && npm run binary:rename-imports",
"binary:package": "pkg --no-bytecode --public-packages \"*\" --compress=Brotli --public --target node18-macos-arm64 .", "binary:package": "pkg --no-bytecode --public-packages \"*\" --public --target node18-macos-arm64 .",
"binary:babel-backend": " babel ./dist -d ./dist", "binary:babel-backend": " babel ./dist -d ./dist",
"binary:babel-frontend": "babel --copy-files ../frontend/.next/server -d ../frontend/.next/server", "binary:babel-frontend": "babel --copy-files ../frontend/.next/server -d ../frontend/.next/server",