Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Re-add the patches for Quill to avoid Prod Docker build failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
pablooliva committed Jan 3, 2020
1 parent 6b44e39 commit 841492a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ RUN npm link @angular/[email protected]
# temporary fixes for failing builds
# ERROR in node_modules/@types/quill/node_modules/quill-delta/dist/Delta.d.ts(1,8): error TS1192:
# Module '"/app/node_modules/@types/quill/node_modules/fast-diff/diff"' has no default export.
# COPY ./patches/diff.d.ts "/app/node_modules/@types/quill/node_modules/fast-diff/diff.d.ts"
# COPY ./patches/Delta.d.ts "/app/node_modules/@types/quill/node_modules/quill-delta/dist/Delta.d.ts"
COPY ./patches/diff.d.ts "/app/node_modules/@types/quill/node_modules/fast-diff/diff.d.ts"
COPY ./patches/Delta.d.ts "/app/node_modules/@types/quill/node_modules/quill-delta/dist/Delta.d.ts"
RUN npm run build

FROM nginx:1.15
Expand Down

0 comments on commit 841492a

Please sign in to comment.