mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🐋 Add size check before production build
This commit is contained in:
@@ -16,6 +16,7 @@ FROM base AS builder
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
ENV PUBLIC_SVGL_VERSION=beta
|
||||
RUN pnpm run check:size
|
||||
RUN pnpm run build:prod
|
||||
|
||||
# Production image
|
||||
|
||||
Reference in New Issue
Block a user