@navigate-ai/vite 0.1.28 → 0.1.29
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/ClippyVitePlugin.js +2 -0
- package/package.json +1 -1
package/dist/ClippyVitePlugin.js
CHANGED
|
@@ -90,6 +90,8 @@ export function clippyVitePlugin(options) {
|
|
|
90
90
|
const cleanId = id.split('?')[0];
|
|
91
91
|
if (!/\.[jt]sx?$/.test(cleanId))
|
|
92
92
|
return null;
|
|
93
|
+
if (cleanId.includes('node_modules'))
|
|
94
|
+
return null;
|
|
93
95
|
// Process file: extract metadata and inject IDs in one pass
|
|
94
96
|
const result = processFile(source, cleanId);
|
|
95
97
|
// Accumulate metadata for policy generation
|