Fix Vite parsing git objects as JS modules on dev server
Build and Push Docker Image / build-and-push (push) Successful in 3m2s

- Add server.watch.ignored for .git/** so chokidar doesn't pick up
  changes to git object files during git pull/fetch on the server
- Add .dockerignore to exclude .git, node_modules, and dist from
  the Docker build context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-09-02 09:20:26 -04:00
1 parent b98aae741f
commit 9b9de74084
2 files changed
+7

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
.git
node_modules
dist
*.log
+3
View File
@@ -6,6 +6,9 @@ export default defineConfig({
server: {
host: true,
allowedHosts: ['study.necloud.us', 'localhost', 'study.versebyversewithnate.us'],
watch: {
ignored: ['**/.git/**'],
},
// Proxy /api calls to the Express backend during development
proxy: {
'/api': {