Fix Vite parsing git objects as JS modules on dev server
Build and Push Docker Image / build-and-push (push) Successful in 3m2s
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:
1 parent
b98aae741f
commit
9b9de74084
2 files changed
+7
No files matched your search
@@ -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': {
|
||||
|
||||
Reference in new issue
Block a user