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

Added hackfix for react-is issues. #8301

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dockerfiles/api/Dockerfile-api-client
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ COPY patches/ ./patches/

ARG NODE_ENV
RUN npm install --loglevel notice --legacy-peer-deps --production
# Hackfix for issue with broken installation of react-is
RUN npm install react-is

# copy then compile the code
COPY . .
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/client/Dockerfile-client
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ COPY patches/ ./patches/

ARG NODE_ENV
RUN npm install --loglevel notice --legacy-peer-deps --production
# Hackfix for issue with broken installation of react-is
RUN npm install react-is

# copy then compile the code
COPY . .
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/client/Dockerfile-client-serve-static
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ COPY patches/ ./patches/

ARG NODE_ENV
RUN npm install --loglevel notice --legacy-peer-deps --production
# Hackfix for issue with broken installation of react-is
RUN npm install react-is

# copy then compile the code
COPY . .
Expand Down
1 change: 0 additions & 1 deletion packages/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ export default defineConfig(async () => {
warnOnError: true
},
rollupOptions: {
external: ['dotenv-flow'],
output: {
dir: 'dist',
format: 'es', // 'commonjs' | 'esm' | 'module' | 'systemjs'
Expand Down