Skip to content

Commit

Permalink
build: disable minification for dev/staging builds
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 25, 2024
1 parent b598a9c commit 1e3ae6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ services:
args:
APP_VERSION: ${GIT_BRANCH}
VITE_API_URL: https://${FMTM_API_DOMAIN:-api.${FMTM_DOMAIN}}
MINIFY: false
volumes:
- fmtm_frontend:/frontend
network_mode: none
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/prod.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN pnpm install

ENV NODE_ENV production
COPY . .
RUN pnpm run build
ARG MINIFY='esbuild'
RUN pnpm run build --minify $MINIFY



Expand Down

0 comments on commit 1e3ae6e

Please sign in to comment.