Skip to content

Commit

Permalink
Update vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
R1c4rdCo5t4 committed Jun 28, 2024
1 parent 0219ade commit aefb129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tsconfigPaths from 'vite-tsconfig-paths';
import { config } from 'dotenv';
// import { VitePWA } from 'vite-plugin-pwa';

config();

export default defineConfig({
publicDir: './public',
server: {
port: Number.parseInt(process.env.CLIENT_PORT) || 5173,
port: Number.parseInt(process.env.VITE_PORT) || 5173,
},
plugins: [tsconfigPaths(), react() /*VitePWA(pwaConfig)*/],
build: {
Expand Down

0 comments on commit aefb129

Please sign in to comment.