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 9152dfc commit 6aae378Copy full SHA for 6aae378
1 file changed
src/plugins/buildReporter.ts
@@ -12,6 +12,9 @@ export default function buildReporterPlugin(): Plugin<BuildReporterApi> {
12
buildEnd() {
13
const allModuleIds = Array.from(this.getModuleIds())
14
const sourceFiles = allModuleIds.filter(id => {
15
+ if (id.includes('node_modules')) {
16
+ return false
17
+ }
18
const info = this.getModuleInfo(id)
19
return info && !info.isExternal
20
})
0 commit comments