mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-06 15:14:21 +01:00
build separated arcitecture
This commit is contained in:
@@ -2,17 +2,10 @@
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
if [ -d "dist/.next" ]; then
|
||||
rm -rf dist/.next
|
||||
fi
|
||||
|
||||
if [ -d "dist/standalone" ]; then
|
||||
rm -rf dist/standalone
|
||||
if [ -d "dist" ]; then
|
||||
rm -rf dist
|
||||
fi
|
||||
|
||||
pnpm lingui:compile
|
||||
pnpm exec next build
|
||||
cp -r public .next/standalone/
|
||||
cp -r .next/static .next/standalone/.next/
|
||||
|
||||
cp -r .next/standalone ./dist/
|
||||
pnpm build:frontend
|
||||
pnpm build:backend
|
||||
|
||||
Reference in New Issue
Block a user