@yoamigo.com/core 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.js +6 -0
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -81,6 +81,12 @@ if (import.meta.hot) {
|
|
|
81
81
|
port: process.env.PORT ? parseInt(process.env.PORT, 10) : 5173,
|
|
82
82
|
strictPort: false,
|
|
83
83
|
// Allow Vite to find next available port
|
|
84
|
+
watch: {
|
|
85
|
+
// Prevent Vite from watching node_modules and pnpm store
|
|
86
|
+
// Critical when node_modules contains symlinks to pnpm store (bundled deps)
|
|
87
|
+
// Without this, Vite exceeds inotify file watcher limit (ENOSPC error)
|
|
88
|
+
ignored: ["**/node_modules/**", "**/.pnpm-store/**"]
|
|
89
|
+
},
|
|
84
90
|
hmr: {
|
|
85
91
|
// When behind a proxy (builder worker), HMR needs to connect through the proxy
|
|
86
92
|
// Setting these to undefined lets Vite auto-detect from the page URL
|