Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier2p committed Nov 17, 2023
1 parent 272824c commit 7dbbabf
Show file tree
Hide file tree
Showing 7 changed files with 710 additions and 605 deletions.
4 changes: 2 additions & 2 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
trailingComma: "es5"
tabWidth: 4
tabWidth: 2
semi: true
singleQuote: true
printWidth: 120
Expand All @@ -8,7 +8,7 @@ overrides:
options:
tabWidth: 2
printWidth: 80
- files: '*.md'
- files: "*.md"
options:
tabWidth: 2
printWidth: 80
605 changes: 316 additions & 289 deletions client/package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import { defineConfig, loadEnv } from 'vite';
import react from '@vitejs/plugin-react';

export default ({ mode }) => {
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
return defineConfig({
plugins: [react()],
build: {
emptyOutDir: true,
outDir: mode === 'production' ? './dist' : '../server/build/www',
rollupOptions: {},
},
server: {
port: 3000,
},
});
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
return defineConfig({
plugins: [react()],
build: {
emptyOutDir: true,
outDir: mode === 'production' ? './dist' : '../server/build/www',
rollupOptions: {},
},
server: {
port: 3000,
},
});
};
Loading

0 comments on commit 7dbbabf

Please sign in to comment.