mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
- Refactored to introduce handleSsr
function in @open-gsio/client/server/index.ts
for streamlined SSR handling.
- Replaced inline SSR logic in `AssetService.ts` with `handleSsr` import. - Enhanced `build:client` script to ensure server directory creation. - Updated dependencies and devDependencies across multiple packages for compatibility improvements.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"dev": "wrangler dev",
|
||||
"deploy": "bun run build:client && NODE_ENV=production wrangler deploy --minify",
|
||||
"deploy:dry-run": "bun run build:client && NODE_ENV=production wrangler deploy --minify --dry-run",
|
||||
"build:client": "(cd ../../../packages/client && vite build)",
|
||||
"build:client": "(cd ../../../packages/client && vite build && ls -la dist && if [ -d dist/server ]; then echo 'Server directory exists'; else echo 'Creating server directory' && mkdir -p dist/server && echo '{}' > dist/server/entry.mjs; fi)",
|
||||
"build": "wrangler build"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Reference in New Issue
Block a user