Skip to content

Commit

Permalink
Readd minimize of production build
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jun 30, 2023
1 parent 163acc0 commit df0bb46
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion infra/docker/DockerfileBuildApp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ WORKDIR /tmp/frontend
# Files are expected to be in /tmp/frontend/dist/monitorfish-frontend
# TODO Remove `--legacy-peer-deps` option as soon as we replace `react-scripts` by something else.
RUN npm ci --legacy-peer-deps
RUN sed -i 's/minimize: isEnvProduction/minimize: false/g' node_modules/react-scripts/config/webpack.config.js
RUN npm run build

######################
Expand Down

0 comments on commit df0bb46

Please sign in to comment.