We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc78ca commit e8d96f8Copy full SHA for e8d96f8
src/parser.ts
@@ -176,6 +176,11 @@ export function useComponentMetaParser (
176
// Component is missing required values
177
if (!component?.fullPath || !component?.pascalName) { return }
178
179
+ if (component.meta.hash && component.fullPath.includes('/node_modules/')) {
180
+ // We assume that components from node_modules don't change
181
+ return
182
+ }
183
+
184
// Read component code
185
let code = fs.readFileSync(component.fullPath, 'utf-8')
186
const codeHash = hash(code)
0 commit comments