Skip to content

Commit

Permalink
Convert from webpack to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
oscrx committed Aug 9, 2023
1 parent e9dfb79 commit 35e9039
Show file tree
Hide file tree
Showing 34 changed files with 2,831 additions and 10,053 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
path: ~/.npm
key: ${{ runner.OS }}-${{ matrix.folder }}-${{ hashFiles('${{ matrix.folder }}/package-lock.json') }}
-
run: npm ci --legacy-peer-deps
run: npm ci
working-directory: ${{ matrix.folder }}
-
run: npm run lint --if-present
Expand Down
1 change: 1 addition & 0 deletions pils-frontend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ coverage
config/backend.js
config.js
ecosystem.config.js
dist
4 changes: 2 additions & 2 deletions pils-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM node:20 AS build
WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps
RUN npm install
COPY public ./public
COPY index.html ./
COPY build ./build
Expand All @@ -14,5 +14,5 @@ RUN npm run build
FROM nginx:alpine
RUN rm -rf /etc/nginx/conf.d /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/public /usr/share/nginx/html
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
41 changes: 0 additions & 41 deletions pils-frontend/build/build.js

This file was deleted.

51 changes: 0 additions & 51 deletions pils-frontend/build/check-versions.js

This file was deleted.

102 changes: 0 additions & 102 deletions pils-frontend/build/utils.js

This file was deleted.

22 changes: 0 additions & 22 deletions pils-frontend/build/vue-loader.conf.js

This file was deleted.

80 changes: 0 additions & 80 deletions pils-frontend/build/webpack.base.conf.js

This file was deleted.

Loading

0 comments on commit 35e9039

Please sign in to comment.