Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/remove wsl check #337

Merged
merged 14 commits into from
Sep 23, 2024
76 changes: 0 additions & 76 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"is-wsl": "^3.1.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"vite": "^5.1.7"
Expand Down
10 changes: 0 additions & 10 deletions frontend/vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
import { defineConfig } from 'vite';
import isWsl from 'is-wsl';
import react from '@vitejs/plugin-react';

export default defineConfig(() => {
let watchWSL = isWsl ? {
watch: {
usePolling: true,
interval: 500,
binaryInterval: 1000,
}
} : null;

return {
build: {
outDir: 'build',
},
plugins: [react()],
server: watchWSL,
};
});
Loading